changeCloseApplicationOnOpenLink

@Modifying(clearAutomatically = true)
@Query(value = ""UPDATE " + SETTINGS_KEY + " SET " + CLOSE_APPLICATION_ON_LINK_OPEN_KEY + "=:" + CLOSE_APPLICATION_ON_LINK_OPEN_KEY + _WHERE_ + IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY", nativeQuery = true)
abstract fun changeCloseApplicationOnOpenLink(@Param(value = "id") userId: String, @Param(value = "close_application_on_open_link") closeApplicationOnOpenLink: Boolean)

Query used to change the close application on open link setting preference

Parameters

userId

The identifier of the user owner of the settings

closeApplicationOnOpenLink

Whether the user requires to close the application when a link has been opened