class CustomTabsService : CustomTabsService
(source)
Service providing Custom Tabs related functionality.
CustomTabsService()
Service providing Custom Tabs related functionality. |
fun extraCommand(commandName: String?, args: Bundle?): Bundle? |
|
fun mayLaunchUrl(sessionToken: CustomTabsSessionToken?, url: Uri?, extras: Bundle?, otherLikelyBundles: MutableList<Bundle>?): Boolean |
|
fun newSession(sessionToken: CustomTabsSessionToken?): Boolean |
|
fun postMessage(sessionToken: CustomTabsSessionToken?, message: String?, extras: Bundle?): Int |
|
fun requestPostMessageChannel(sessionToken: CustomTabsSessionToken?, postMessageOrigin: Uri?): Boolean |
|
fun updateVisuals(sessionToken: CustomTabsSessionToken?, bundle: Bundle?): Boolean |
|
fun validateRelationship(sessionToken: CustomTabsSessionToken?, relation: Int, origin: Uri?, extras: Bundle?): Boolean |
|
fun warmup(flags: Long): Boolean |
val Context.appVersionName: String?
The (visible) version name of the application, as specified by the tag's versionName attribute. E.g. "2.0". |
fun Context.isOSOnLowMemory(): Boolean
Returns whether or not the operating system is under low memory conditions. |
|
fun Context.isPermissionGranted(vararg permission: String): Boolean
Returns if a list of permission have been granted, if all the permission have been granted returns true otherwise false. |
|
fun <T> Context.systemService(name: String): T
Returns the handle to a system-level service by name. |