BeaconActivity

open class BeaconActivity : AppCompatActivity

Main entry point to the Beacon

Functions

addContentView
Link copied to clipboard
open fun addContentView(view: View, params: ViewGroup.LayoutParams)
addOnContextAvailableListener
Link copied to clipboard
fun addOnContextAvailableListener(listener: OnContextAvailableListener)
applyOverrideConfiguration
Link copied to clipboard
open fun applyOverrideConfiguration(overrideConfiguration: Configuration)
bindIsolatedService
Link copied to clipboard
open fun bindIsolatedService(service: Intent, flags: Int, instanceName: String, executor: Executor, conn: ServiceConnection): Boolean
bindService
Link copied to clipboard
open fun bindService(service: Intent, conn: ServiceConnection, flags: Int): Boolean
bindServiceAsUser
Link copied to clipboard
open fun bindServiceAsUser(service: Intent, conn: ServiceConnection, flags: Int, user: UserHandle): Boolean
checkCallingOrSelfPermission
Link copied to clipboard
open fun checkCallingOrSelfPermission(permission: String): Int
checkCallingOrSelfUriPermission
Link copied to clipboard
open fun checkCallingOrSelfUriPermission(uri: Uri, modeFlags: Int): Int
checkCallingOrSelfUriPermissions
Link copied to clipboard
open fun checkCallingOrSelfUriPermissions(uris: List<Uri>, modeFlags: Int): Array<Int>
checkCallingPermission
Link copied to clipboard
open fun checkCallingPermission(permission: String): Int
checkCallingUriPermission
Link copied to clipboard
open fun checkCallingUriPermission(uri: Uri, modeFlags: Int): Int
checkCallingUriPermissions
Link copied to clipboard
open fun checkCallingUriPermissions(uris: List<Uri>, modeFlags: Int): Array<Int>
checkPermission
Link copied to clipboard
open fun checkPermission(permission: String, pid: Int, uid: Int): Int
checkSelfPermission
Link copied to clipboard
open fun checkSelfPermission(permission: String): Int
checkUriPermission
Link copied to clipboard
open fun checkUriPermission(uri: Uri, pid: Int, uid: Int, modeFlags: Int): Int
checkUriPermissions
Link copied to clipboard
open fun checkUriPermissions(uris: List<Uri>, pid: Int, uid: Int, modeFlags: Int): Array<Int>
clearWallpaper
Link copied to clipboard
open fun clearWallpaper()
closeContextMenu
Link copied to clipboard
open fun closeContextMenu()
closeOptionsMenu
Link copied to clipboard
open fun closeOptionsMenu()
createAttributionContext
Link copied to clipboard
open fun createAttributionContext(attributionTag: String): Context
createConfigurationContext
Link copied to clipboard
open fun createConfigurationContext(overrideConfiguration: Configuration): Context
createContext
Link copied to clipboard
open fun createContext(contextParams: ContextParams): Context
createContextForSplit
Link copied to clipboard
open fun createContextForSplit(splitName: String): Context
createDeviceProtectedStorageContext
Link copied to clipboard
open fun createDeviceProtectedStorageContext(): Context
createDisplayContext
Link copied to clipboard
open fun createDisplayContext(display: Display): Context
createPackageContext
Link copied to clipboard
open fun createPackageContext(packageName: String, flags: Int): Context
createPendingResult
Link copied to clipboard
open fun createPendingResult(requestCode: Int, data: Intent, flags: Int): PendingIntent
createWindowContext
Link copied to clipboard
open fun createWindowContext(type: Int, options: Bundle): Context
databaseList
Link copied to clipboard
open fun databaseList(): Array<String>
deleteDatabase
Link copied to clipboard
open fun deleteDatabase(name: String): Boolean
deleteFile
Link copied to clipboard
open fun deleteFile(name: String): Boolean
deleteSharedPreferences
Link copied to clipboard
open fun deleteSharedPreferences(name: String): Boolean
dismissDialog
Link copied to clipboard
fun dismissDialog(id: Int)
dismissKeyboardShortcutsHelper
Link copied to clipboard
fun dismissKeyboardShortcutsHelper()
dispatchGenericMotionEvent
Link copied to clipboard
open fun dispatchGenericMotionEvent(ev: MotionEvent): Boolean
dispatchKeyEvent
Link copied to clipboard
open fun dispatchKeyEvent(event: KeyEvent): Boolean
dispatchKeyShortcutEvent
Link copied to clipboard
open fun dispatchKeyShortcutEvent(event: KeyEvent): Boolean
dispatchPopulateAccessibilityEvent
Link copied to clipboard
open fun dispatchPopulateAccessibilityEvent(event: AccessibilityEvent): Boolean
dispatchTouchEvent
Link copied to clipboard
open fun dispatchTouchEvent(ev: MotionEvent): Boolean
dispatchTrackballEvent
Link copied to clipboard
open fun dispatchTrackballEvent(ev: MotionEvent): Boolean
dump
Link copied to clipboard
open fun dump(prefix: String, fd: FileDescriptor, writer: PrintWriter, args: Array<String>)
enforceCallingOrSelfPermission
Link copied to clipboard
open fun enforceCallingOrSelfPermission(permission: String, message: String)
enforceCallingOrSelfUriPermission
Link copied to clipboard
open fun enforceCallingOrSelfUriPermission(uri: Uri, modeFlags: Int, message: String)
enforceCallingPermission
Link copied to clipboard
open fun enforceCallingPermission(permission: String, message: String)
enforceCallingUriPermission
Link copied to clipboard
open fun enforceCallingUriPermission(uri: Uri, modeFlags: Int, message: String)
enforcePermission
Link copied to clipboard
open fun enforcePermission(permission: String, pid: Int, uid: Int, message: String)
enforceUriPermission
Link copied to clipboard
open fun enforceUriPermission(uri: Uri, pid: Int, uid: Int, modeFlags: Int, message: String)
enterPictureInPictureMode
Link copied to clipboard
open fun enterPictureInPictureMode()
open fun enterPictureInPictureMode(params: PictureInPictureParams): Boolean
fileList
Link copied to clipboard
open fun fileList(): Array<String>
findViewById
Link copied to clipboard
open fun <T : View?> findViewById(id: Int): T
finish
Link copied to clipboard
open fun finish()
finishActivity
Link copied to clipboard
open fun finishActivity(requestCode: Int)
finishActivityFromChild
Link copied to clipboard
open fun finishActivityFromChild(child: Activity, requestCode: Int)
finishAffinity
Link copied to clipboard
open fun finishAffinity()
finishAfterTransition
Link copied to clipboard
open fun finishAfterTransition()
finishAndRemoveTask
Link copied to clipboard
open fun finishAndRemoveTask()
finishFromChild
Link copied to clipboard
open fun finishFromChild(child: Activity)
getActionBar
Link copied to clipboard
open fun getActionBar(): ActionBar
getActivityResultRegistry
Link copied to clipboard
fun getActivityResultRegistry(): ActivityResultRegistry
getApplication
Link copied to clipboard
fun getApplication(): Application
getApplicationContext
Link copied to clipboard
open fun getApplicationContext(): Context
getApplicationInfo
Link copied to clipboard
open fun getApplicationInfo(): ApplicationInfo
getAssets
Link copied to clipboard
open fun getAssets(): AssetManager
getAttributionSource
Link copied to clipboard
open fun getAttributionSource(): AttributionSource
getAttributionTag
Link copied to clipboard
open fun getAttributionTag(): String
getBaseContext
Link copied to clipboard
open fun getBaseContext(): Context
getCacheDir
Link copied to clipboard
open fun getCacheDir(): File
getCallingActivity
Link copied to clipboard
open fun getCallingActivity(): ComponentName
getCallingPackage
Link copied to clipboard
open fun getCallingPackage(): String
getChangingConfigurations
Link copied to clipboard
open fun getChangingConfigurations(): Int
getClassLoader
Link copied to clipboard
open fun getClassLoader(): ClassLoader
getCodeCacheDir
Link copied to clipboard
open fun getCodeCacheDir(): File
getColor
Link copied to clipboard
fun getColor(id: Int): Int
getColorStateList
Link copied to clipboard
fun getColorStateList(id: Int): ColorStateList
getComponentName
Link copied to clipboard
open fun getComponentName(): ComponentName
getContentResolver
Link copied to clipboard
open fun getContentResolver(): ContentResolver
getContentScene
Link copied to clipboard
open fun getContentScene(): Scene
getContentTransitionManager
Link copied to clipboard
open fun getContentTransitionManager(): TransitionManager
getCurrentFocus
Link copied to clipboard
open fun getCurrentFocus(): View
getDatabasePath
Link copied to clipboard
open fun getDatabasePath(name: String): File
getDataDir
Link copied to clipboard
open fun getDataDir(): File
getDefaultViewModelProviderFactory
Link copied to clipboard
open fun getDefaultViewModelProviderFactory(): ViewModelProvider.Factory
getDelegate
Link copied to clipboard
open fun getDelegate(): AppCompatDelegate
getDir
Link copied to clipboard
open fun getDir(name: String, mode: Int): File
getDisplay
Link copied to clipboard
open fun getDisplay(): Display
getDrawable
Link copied to clipboard
fun getDrawable(id: Int): Drawable
getDrawerToggleDelegate
Link copied to clipboard
open fun getDrawerToggleDelegate(): ActionBarDrawerToggle.Delegate
getExternalCacheDir
Link copied to clipboard
open fun getExternalCacheDir(): File
getExternalCacheDirs
Link copied to clipboard
open fun getExternalCacheDirs(): Array<File>
getExternalFilesDir
Link copied to clipboard
open fun getExternalFilesDir(type: String): File
getExternalFilesDirs
Link copied to clipboard
open fun getExternalFilesDirs(type: String): Array<File>
getExternalMediaDirs
Link copied to clipboard
open fun getExternalMediaDirs(): Array<File>
getExtraData
Link copied to clipboard
open fun <T : ComponentActivity.ExtraData?> getExtraData(extraDataClass: Class<T>): T
getFilesDir
Link copied to clipboard
open fun getFilesDir(): File
getFileStreamPath
Link copied to clipboard
open fun getFileStreamPath(name: String): File
getFragmentManager
Link copied to clipboard
open fun getFragmentManager(): FragmentManager
getIntent
Link copied to clipboard
open fun getIntent(): Intent
getLastCustomNonConfigurationInstance
Link copied to clipboard
open fun getLastCustomNonConfigurationInstance(): Any
getLastNonConfigurationInstance
Link copied to clipboard
open fun getLastNonConfigurationInstance(): Any
getLayoutInflater
Link copied to clipboard
open fun getLayoutInflater(): LayoutInflater
getLifecycle
Link copied to clipboard
open fun getLifecycle(): Lifecycle
getLoaderManager
Link copied to clipboard
open fun getLoaderManager(): LoaderManager
getLocalClassName
Link copied to clipboard
open fun getLocalClassName(): String
getMainExecutor
Link copied to clipboard
open fun getMainExecutor(): Executor
getMainLooper
Link copied to clipboard
open fun getMainLooper(): Looper
getMaxNumPictureInPictureActions
Link copied to clipboard
open fun getMaxNumPictureInPictureActions(): Int
getMediaController
Link copied to clipboard
fun getMediaController(): MediaController
getMenuInflater
Link copied to clipboard
open fun getMenuInflater(): MenuInflater
getNoBackupFilesDir
Link copied to clipboard
open fun getNoBackupFilesDir(): File
getObbDir
Link copied to clipboard
open fun getObbDir(): File
getObbDirs
Link copied to clipboard
open fun getObbDirs(): Array<File>
getOnBackPressedDispatcher
Link copied to clipboard
fun getOnBackPressedDispatcher(): OnBackPressedDispatcher
getOpPackageName
Link copied to clipboard
open fun getOpPackageName(): String
getPackageCodePath
Link copied to clipboard
open fun getPackageCodePath(): String
getPackageManager
Link copied to clipboard
open fun getPackageManager(): PackageManager
getPackageName
Link copied to clipboard
open fun getPackageName(): String
getPackageResourcePath
Link copied to clipboard
open fun getPackageResourcePath(): String
getParams
Link copied to clipboard
open fun getParams(): ContextParams
getParent
Link copied to clipboard
fun getParent(): Activity
getParentActivityIntent
Link copied to clipboard
open fun getParentActivityIntent(): Intent
getPreferences
Link copied to clipboard
open fun getPreferences(mode: Int): SharedPreferences
getReferrer
Link copied to clipboard
open fun getReferrer(): Uri
getRequestedOrientation
Link copied to clipboard
open fun getRequestedOrientation(): Int
getResources
Link copied to clipboard
open fun getResources(): Resources
getSavedStateRegistry
Link copied to clipboard
fun getSavedStateRegistry(): SavedStateRegistry
getSearchEvent
Link copied to clipboard
fun getSearchEvent(): SearchEvent
getSharedPreferences
Link copied to clipboard
open fun getSharedPreferences(name: String, mode: Int): SharedPreferences
getSplashScreen
Link copied to clipboard
fun getSplashScreen(): SplashScreen
getString
Link copied to clipboard
fun getString(resId: Int): String
getSupportActionBar
Link copied to clipboard
open fun getSupportActionBar(): ActionBar
getSupportFragmentManager
Link copied to clipboard
open fun getSupportFragmentManager(): FragmentManager
getSupportLoaderManager
Link copied to clipboard
open fun getSupportLoaderManager(): LoaderManager
getSupportParentActivityIntent
Link copied to clipboard
open fun getSupportParentActivityIntent(): Intent
getSystemService
Link copied to clipboard
open fun getSystemService(name: String): Any
fun <T> getSystemService(serviceClass: Class<T>): T
getSystemServiceName
Link copied to clipboard
open fun getSystemServiceName(serviceClass: Class<out Any>): String
getTaskId
Link copied to clipboard
open fun getTaskId(): Int
getText
Link copied to clipboard
fun getText(resId: Int): CharSequence
getTheme
Link copied to clipboard
open fun getTheme(): Resources.Theme
getTitle
Link copied to clipboard
fun getTitle(): CharSequence
getTitleColor
Link copied to clipboard
fun getTitleColor(): Int
getViewModelStore
Link copied to clipboard
open fun getViewModelStore(): ViewModelStore
getVoiceInteractor
Link copied to clipboard
open fun getVoiceInteractor(): VoiceInteractor
getVolumeControlStream
Link copied to clipboard
fun getVolumeControlStream(): Int
getWallpaper
Link copied to clipboard
open fun getWallpaper(): Drawable
getWallpaperDesiredMinimumHeight
Link copied to clipboard
open fun getWallpaperDesiredMinimumHeight(): Int
getWallpaperDesiredMinimumWidth
Link copied to clipboard
open fun getWallpaperDesiredMinimumWidth(): Int
getWindow
Link copied to clipboard
open fun getWindow(): Window
getWindowManager
Link copied to clipboard
open fun getWindowManager(): WindowManager
grantUriPermission
Link copied to clipboard
open fun grantUriPermission(toPackage: String, uri: Uri, modeFlags: Int)
hasWindowFocus
Link copied to clipboard
open fun hasWindowFocus(): Boolean
invalidateOptionsMenu
Link copied to clipboard
open fun invalidateOptionsMenu()
isActivityTransitionRunning
Link copied to clipboard
open fun isActivityTransitionRunning(): Boolean
isChangingConfigurations
Link copied to clipboard
open fun isChangingConfigurations(): Boolean
isChild
Link copied to clipboard
fun isChild(): Boolean
isDestroyed
Link copied to clipboard
open fun isDestroyed(): Boolean
isDeviceProtectedStorage
Link copied to clipboard
open fun isDeviceProtectedStorage(): Boolean
isFinishing
Link copied to clipboard
open fun isFinishing(): Boolean
isImmersive
Link copied to clipboard
open fun isImmersive(): Boolean
isInMultiWindowMode
Link copied to clipboard
open fun isInMultiWindowMode(): Boolean
isInPictureInPictureMode
Link copied to clipboard
open fun isInPictureInPictureMode(): Boolean
isLaunchedFromBubble
Link copied to clipboard
open fun isLaunchedFromBubble(): Boolean
isLocalVoiceInteractionSupported
Link copied to clipboard
open fun isLocalVoiceInteractionSupported(): Boolean
isRestricted
Link copied to clipboard
open fun isRestricted(): Boolean
isTaskRoot
Link copied to clipboard
open fun isTaskRoot(): Boolean
isUiContext
Link copied to clipboard
open fun isUiContext(): Boolean
isVoiceInteraction
Link copied to clipboard
open fun isVoiceInteraction(): Boolean
isVoiceInteractionRoot
Link copied to clipboard
open fun isVoiceInteractionRoot(): Boolean
managedQuery
Link copied to clipboard
fun managedQuery(uri: Uri, projection: Array<String>, selection: String, selectionArgs: Array<String>, sortOrder: String): Cursor
moveDatabaseFrom
Link copied to clipboard
open fun moveDatabaseFrom(sourceContext: Context, name: String): Boolean
moveSharedPreferencesFrom
Link copied to clipboard
open fun moveSharedPreferencesFrom(sourceContext: Context, name: String): Boolean
moveTaskToBack
Link copied to clipboard
open fun moveTaskToBack(nonRoot: Boolean): Boolean
navigateUpTo
Link copied to clipboard
open fun navigateUpTo(upIntent: Intent): Boolean
navigateUpToFromChild
Link copied to clipboard
open fun navigateUpToFromChild(child: Activity, upIntent: Intent): Boolean
obtainStyledAttributes
Link copied to clipboard
fun obtainStyledAttributes(attrs: Array<Int>): TypedArray
onActionModeFinished
Link copied to clipboard
open fun onActionModeFinished(mode: ActionMode)
onActionModeStarted
Link copied to clipboard
open fun onActionModeStarted(mode: ActionMode)
onActivityReenter
Link copied to clipboard
open fun onActivityReenter(resultCode: Int, data: Intent)
onAttachedToWindow
Link copied to clipboard
open fun onAttachedToWindow()
onAttachFragment
Link copied to clipboard
open fun onAttachFragment(fragment: Fragment)
onBackPressed
Link copied to clipboard
open fun onBackPressed()
onConfigurationChanged
Link copied to clipboard
open fun onConfigurationChanged(newConfig: Configuration)
onContentChanged
Link copied to clipboard
open fun onContentChanged()
onContextItemSelected
Link copied to clipboard
open fun onContextItemSelected(item: MenuItem): Boolean
onContextMenuClosed
Link copied to clipboard
open fun onContextMenuClosed(menu: Menu)
onCreateContextMenu
Link copied to clipboard
open fun onCreateContextMenu(menu: ContextMenu, v: View, menuInfo: ContextMenu.ContextMenuInfo)
onCreateDescription
Link copied to clipboard
open fun onCreateDescription(): CharSequence
onCreateNavigateUpTaskStack
Link copied to clipboard
open fun onCreateNavigateUpTaskStack(builder: TaskStackBuilder)
onCreateOptionsMenu
Link copied to clipboard
open fun onCreateOptionsMenu(menu: Menu): Boolean
onCreatePanelMenu
Link copied to clipboard
open fun onCreatePanelMenu(featureId: Int, menu: Menu): Boolean
onCreatePanelView
Link copied to clipboard
open fun onCreatePanelView(featureId: Int): View
onCreateSupportNavigateUpTaskStack
Link copied to clipboard
open fun onCreateSupportNavigateUpTaskStack(builder: TaskStackBuilder)
onCreateThumbnail
Link copied to clipboard
open fun onCreateThumbnail(outBitmap: Bitmap, canvas: Canvas): Boolean
onCreateView
Link copied to clipboard
open fun onCreateView(parent: View, name: String, context: Context, attrs: AttributeSet): View
onDetachedFromWindow
Link copied to clipboard
open fun onDetachedFromWindow()
onEnterAnimationComplete
Link copied to clipboard
open fun onEnterAnimationComplete()
onGenericMotionEvent
Link copied to clipboard
open fun onGenericMotionEvent(event: MotionEvent): Boolean
onGetDirectActions
Link copied to clipboard
open fun onGetDirectActions(cancellationSignal: CancellationSignal, callback: Consumer<List<DirectAction>>)
onKeyDown
Link copied to clipboard
open fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean
onKeyLongPress
Link copied to clipboard
open fun onKeyLongPress(keyCode: Int, event: KeyEvent): Boolean
onKeyMultiple
Link copied to clipboard
open fun onKeyMultiple(keyCode: Int, repeatCount: Int, event: KeyEvent): Boolean
onKeyShortcut
Link copied to clipboard
open fun onKeyShortcut(keyCode: Int, event: KeyEvent): Boolean
onKeyUp
Link copied to clipboard
open fun onKeyUp(keyCode: Int, event: KeyEvent): Boolean
onLocalVoiceInteractionStarted
Link copied to clipboard
open fun onLocalVoiceInteractionStarted()
onLocalVoiceInteractionStopped
Link copied to clipboard
open fun onLocalVoiceInteractionStopped()
onLowMemory
Link copied to clipboard
open fun onLowMemory()
onMenuItemSelected
Link copied to clipboard
fun onMenuItemSelected(featureId: Int, item: MenuItem): Boolean
onMenuOpened
Link copied to clipboard
open fun onMenuOpened(featureId: Int, menu: Menu): Boolean
onMultiWindowModeChanged
Link copied to clipboard
open fun onMultiWindowModeChanged(isInMultiWindowMode: Boolean)
onNavigateUp
Link copied to clipboard
open fun onNavigateUp(): Boolean
onNavigateUpFromChild
Link copied to clipboard
open fun onNavigateUpFromChild(child: Activity): Boolean
onOptionsItemSelected
Link copied to clipboard
open fun onOptionsItemSelected(item: MenuItem): Boolean
onOptionsMenuClosed
Link copied to clipboard
open fun onOptionsMenuClosed(menu: Menu)
onPanelClosed
Link copied to clipboard
open fun onPanelClosed(featureId: Int, menu: Menu)
onPerformDirectAction
Link copied to clipboard
open fun onPerformDirectAction(actionId: String, arguments: Bundle, cancellationSignal: CancellationSignal, resultListener: Consumer<Bundle>)
onPictureInPictureModeChanged
Link copied to clipboard
open fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)
onPictureInPictureRequested
Link copied to clipboard
open fun onPictureInPictureRequested(): Boolean
onPictureInPictureUiStateChanged
Link copied to clipboard
open fun onPictureInPictureUiStateChanged(pipState: PictureInPictureUiState)
onPointerCaptureChanged
Link copied to clipboard
open fun onPointerCaptureChanged(hasCapture: Boolean)
onPrepareNavigateUpTaskStack
Link copied to clipboard
open fun onPrepareNavigateUpTaskStack(builder: TaskStackBuilder)
onPrepareOptionsMenu
Link copied to clipboard
open fun onPrepareOptionsMenu(menu: Menu): Boolean
onPreparePanel
Link copied to clipboard
open fun onPreparePanel(featureId: Int, view: View, menu: Menu): Boolean
onPrepareSupportNavigateUpTaskStack
Link copied to clipboard
open fun onPrepareSupportNavigateUpTaskStack(builder: TaskStackBuilder)
onProvideAssistContent
Link copied to clipboard
open fun onProvideAssistContent(outContent: AssistContent)
onProvideAssistData
Link copied to clipboard
open fun onProvideAssistData(data: Bundle)
onProvideKeyboardShortcuts
Link copied to clipboard
open fun onProvideKeyboardShortcuts(data: List<KeyboardShortcutGroup>, menu: Menu, deviceId: Int)
onProvideReferrer
Link copied to clipboard
open fun onProvideReferrer(): Uri
onRequestPermissionsResult
Link copied to clipboard
open fun onRequestPermissionsResult(requestCode: Int, permissions: Array<String>, grantResults: Array<Int>)
onRetainCustomNonConfigurationInstance
Link copied to clipboard
open fun onRetainCustomNonConfigurationInstance(): Any
onRetainNonConfigurationInstance
Link copied to clipboard
fun onRetainNonConfigurationInstance(): Any
onSearchRequested
Link copied to clipboard
open fun onSearchRequested(searchEvent: SearchEvent): Boolean
onStateNotSaved
Link copied to clipboard
open fun onStateNotSaved()
onSupportActionModeFinished
Link copied to clipboard
open fun onSupportActionModeFinished(mode: ActionMode)
onSupportActionModeStarted
Link copied to clipboard
open fun onSupportActionModeStarted(mode: ActionMode)
onSupportContentChanged
Link copied to clipboard
open fun onSupportContentChanged()
onSupportNavigateUp
Link copied to clipboard
open fun onSupportNavigateUp(): Boolean
onTopResumedActivityChanged
Link copied to clipboard
open fun onTopResumedActivityChanged(isTopResumedActivity: Boolean)
onTouchEvent
Link copied to clipboard
open fun onTouchEvent(event: MotionEvent): Boolean
onTrackballEvent
Link copied to clipboard
open fun onTrackballEvent(event: MotionEvent): Boolean
onTrimMemory
Link copied to clipboard
open fun onTrimMemory(level: Int)
onUserInteraction
Link copied to clipboard
open fun onUserInteraction()
onVisibleBehindCanceled
Link copied to clipboard
open fun onVisibleBehindCanceled()
onWindowAttributesChanged
Link copied to clipboard
open fun onWindowAttributesChanged(params: WindowManager.LayoutParams)
onWindowFocusChanged
Link copied to clipboard
open fun onWindowFocusChanged(hasFocus: Boolean)
onWindowStartingActionMode
Link copied to clipboard
open fun onWindowStartingActionMode(callback: ActionMode.Callback): ActionMode
onWindowStartingSupportActionMode
Link copied to clipboard
open fun onWindowStartingSupportActionMode(callback: ActionMode.Callback): ActionMode
open
Link copied to clipboard
open fun open(@NotNull() context: @NotNull() Context)
Opens the Beacon on the appropriate page depending on your Beacon's configEnsure Beacon is initialised with the `Beacon.
open fun open(@NotNull() context: @NotNull() Context, screen: BeaconScreens, args: ArrayList<String>)
Opens the Beacon on the screen passed as parameter in screenEnsure Beacon is initialised with the `Beacon.
openContextMenu
Link copied to clipboard
open fun openContextMenu(view: View)
openFileInput
Link copied to clipboard
open fun openFileInput(name: String): FileInputStream
openFileOutput
Link copied to clipboard
open fun openFileOutput(name: String, mode: Int): FileOutputStream
openInSecureMode
Link copied to clipboard
open fun openInSecureMode(@NotNull() context: @NotNull() Context, @NotNull() signature: @NotNull() String)
Opens the Beacon in Secure Mode the appropriate page depending on your Beacon's configEnsure Beacon is initialised with the `Beacon.Builder()` and signature is provided.
open fun openInSecureMode(@NotNull() context: @NotNull() Context, @NotNull() signature: @NotNull() String, screen: BeaconScreens, args: ArrayList<String>)
Opens the Beacon in Secure Mode on the screen passed as parameter in screenEnsure Beacon is initialised with the `Beacon.Builder()` and signature is provided.
openOptionsMenu
Link copied to clipboard
open fun openOptionsMenu()
openOrCreateDatabase
Link copied to clipboard
open fun openOrCreateDatabase(name: String, mode: Int, factory: SQLiteDatabase.CursorFactory): SQLiteDatabase
overridePendingTransition
Link copied to clipboard
open fun overridePendingTransition(enterAnim: Int, exitAnim: Int)
peekAvailableContext
Link copied to clipboard
open fun peekAvailableContext(): Context
peekWallpaper
Link copied to clipboard
open fun peekWallpaper(): Drawable
postponeEnterTransition
Link copied to clipboard
open fun postponeEnterTransition()
putExtraData
Link copied to clipboard
open fun putExtraData(extraData: ComponentActivity.ExtraData)
recreate
Link copied to clipboard
open fun recreate()
registerActivityLifecycleCallbacks
Link copied to clipboard
open fun registerActivityLifecycleCallbacks(callback: Application.ActivityLifecycleCallbacks)
registerComponentCallbacks
Link copied to clipboard
open fun registerComponentCallbacks(callback: ComponentCallbacks)
registerForActivityResult
Link copied to clipboard
fun <I, O> registerForActivityResult(contract: ActivityResultContract<I, O>, registry: ActivityResultRegistry, callback: ActivityResultCallback<O>): ActivityResultLauncher<I>
registerForContextMenu
Link copied to clipboard
open fun registerForContextMenu(view: View)
registerReceiver
Link copied to clipboard
open fun registerReceiver(receiver: BroadcastReceiver, filter: IntentFilter): Intent
releaseInstance
Link copied to clipboard
open fun releaseInstance(): Boolean
removeDialog
Link copied to clipboard
fun removeDialog(id: Int)
removeOnContextAvailableListener
Link copied to clipboard
fun removeOnContextAvailableListener(listener: OnContextAvailableListener)
removeStickyBroadcast
Link copied to clipboard
open fun removeStickyBroadcast(intent: Intent)
removeStickyBroadcastAsUser
Link copied to clipboard
open fun removeStickyBroadcastAsUser(intent: Intent, user: UserHandle)
reportFullyDrawn
Link copied to clipboard
open fun reportFullyDrawn()
requestDragAndDropPermissions
Link copied to clipboard
open fun requestDragAndDropPermissions(event: DragEvent): DragAndDropPermissions
requestPermissions
Link copied to clipboard
fun requestPermissions(permissions: Array<String>, requestCode: Int)
requestShowKeyboardShortcuts
Link copied to clipboard
fun requestShowKeyboardShortcuts()
requestVisibleBehind
Link copied to clipboard
open fun requestVisibleBehind(visible: Boolean): Boolean
requestWindowFeature
Link copied to clipboard
fun requestWindowFeature(featureId: Int): Boolean
requireViewById
Link copied to clipboard
fun <T : View?> requireViewById(id: Int): T
revokeUriPermission
Link copied to clipboard
open fun revokeUriPermission(uri: Uri, modeFlags: Int)
runOnUiThread
Link copied to clipboard
fun runOnUiThread(action: Runnable)
sendBroadcast
Link copied to clipboard
open fun sendBroadcast(intent: Intent)
sendBroadcastAsUser
Link copied to clipboard
open fun sendBroadcastAsUser(intent: Intent, user: UserHandle)
sendBroadcastWithMultiplePermissions
Link copied to clipboard
open fun sendBroadcastWithMultiplePermissions(intent: Intent, receiverPermissions: Array<String>)
sendOrderedBroadcast
Link copied to clipboard
open fun sendOrderedBroadcast(intent: Intent, receiverPermission: String)
sendOrderedBroadcastAsUser
Link copied to clipboard
open fun sendOrderedBroadcastAsUser(intent: Intent, user: UserHandle, receiverPermission: String, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
sendStickyBroadcast
Link copied to clipboard
open fun sendStickyBroadcast(intent: Intent)
sendStickyBroadcastAsUser
Link copied to clipboard
open fun sendStickyBroadcastAsUser(intent: Intent, user: UserHandle)
sendStickyOrderedBroadcast
Link copied to clipboard
open fun sendStickyOrderedBroadcast(intent: Intent, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
sendStickyOrderedBroadcastAsUser
Link copied to clipboard
open fun sendStickyOrderedBroadcastAsUser(intent: Intent, user: UserHandle, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
setActionBar
Link copied to clipboard
open fun setActionBar(toolbar: Toolbar)
setContentTransitionManager
Link copied to clipboard
open fun setContentTransitionManager(tm: TransitionManager)
setContentView
Link copied to clipboard
open fun setContentView(layoutResID: Int)
setDefaultKeyMode
Link copied to clipboard
fun setDefaultKeyMode(mode: Int)
setEnterSharedElementCallback
Link copied to clipboard
open fun setEnterSharedElementCallback(callback: SharedElementCallback)
setExitSharedElementCallback
Link copied to clipboard
open fun setExitSharedElementCallback(listener: SharedElementCallback)
setFeatureDrawable
Link copied to clipboard
fun setFeatureDrawable(featureId: Int, drawable: Drawable)
setFeatureDrawableAlpha
Link copied to clipboard
fun setFeatureDrawableAlpha(featureId: Int, alpha: Int)
setFeatureDrawableResource
Link copied to clipboard
fun setFeatureDrawableResource(featureId: Int, resId: Int)
setFeatureDrawableUri
Link copied to clipboard
fun setFeatureDrawableUri(featureId: Int, uri: Uri)
setFinishOnTouchOutside
Link copied to clipboard
open fun setFinishOnTouchOutside(finish: Boolean)
setImmersive
Link copied to clipboard
open fun setImmersive(i: Boolean)
setInheritShowWhenLocked
Link copied to clipboard
open fun setInheritShowWhenLocked(inheritShowWhenLocked: Boolean)
setIntent
Link copied to clipboard
open fun setIntent(newIntent: Intent)
setLocusContext
Link copied to clipboard
open fun setLocusContext(locusId: LocusId, bundle: Bundle)
setMediaController
Link copied to clipboard
fun setMediaController(controller: MediaController)
setPictureInPictureParams
Link copied to clipboard
open fun setPictureInPictureParams(params: PictureInPictureParams)
setProgress
Link copied to clipboard
fun setProgress(progress: Int)
setProgressBarIndeterminate
Link copied to clipboard
fun setProgressBarIndeterminate(indeterminate: Boolean)
setProgressBarIndeterminateVisibility
Link copied to clipboard
fun setProgressBarIndeterminateVisibility(visible: Boolean)
setProgressBarVisibility
Link copied to clipboard
fun setProgressBarVisibility(visible: Boolean)
setRequestedOrientation
Link copied to clipboard
open fun setRequestedOrientation(requestedOrientation: Int)
setResult
Link copied to clipboard
fun setResult(resultCode: Int)
setSecondaryProgress
Link copied to clipboard
fun setSecondaryProgress(secondaryProgress: Int)
setShowWhenLocked
Link copied to clipboard
open fun setShowWhenLocked(showWhenLocked: Boolean)
setSupportActionBar
Link copied to clipboard
open fun setSupportActionBar(toolbar: Toolbar)
setSupportProgress
Link copied to clipboard
open fun setSupportProgress(progress: Int)
setSupportProgressBarIndeterminate
Link copied to clipboard
open fun setSupportProgressBarIndeterminate(indeterminate: Boolean)
open fun setSupportProgressBarIndeterminateVisibility(visible: Boolean)
setSupportProgressBarVisibility
Link copied to clipboard
open fun setSupportProgressBarVisibility(visible: Boolean)
setTaskDescription
Link copied to clipboard
open fun setTaskDescription(taskDescription: ActivityManager.TaskDescription)
setTheme
Link copied to clipboard
open fun setTheme(resId: Int)
setTitle
Link copied to clipboard
open fun setTitle(title: CharSequence)
setTitleColor
Link copied to clipboard
open fun setTitleColor(textColor: Int)
setTranslucent
Link copied to clipboard
open fun setTranslucent(translucent: Boolean): Boolean
setTurnScreenOn
Link copied to clipboard
open fun setTurnScreenOn(turnScreenOn: Boolean)
setVisible
Link copied to clipboard
open fun setVisible(visible: Boolean)
setVolumeControlStream
Link copied to clipboard
fun setVolumeControlStream(streamType: Int)
setVrModeEnabled
Link copied to clipboard
open fun setVrModeEnabled(enabled: Boolean, requestedComponent: ComponentName)
setWallpaper
Link copied to clipboard
open fun setWallpaper(bitmap: Bitmap)
shouldShowRequestPermissionRationale
Link copied to clipboard
open fun shouldShowRequestPermissionRationale(permission: String): Boolean
shouldUpRecreateTask
Link copied to clipboard
open fun shouldUpRecreateTask(targetIntent: Intent): Boolean
showAssist
Link copied to clipboard
open fun showAssist(args: Bundle): Boolean
showDialog
Link copied to clipboard
fun showDialog(id: Int)
fun showDialog(id: Int, args: Bundle): Boolean
showLockTaskEscapeMessage
Link copied to clipboard
open fun showLockTaskEscapeMessage()
startActionMode
Link copied to clipboard
open fun startActionMode(callback: ActionMode.Callback): ActionMode
startActivities
Link copied to clipboard
open fun startActivities(intents: Array<Intent>)
startActivity
Link copied to clipboard
open fun startActivity(intent: Intent)
startActivityForResult
Link copied to clipboard
open fun startActivityForResult(intent: Intent, requestCode: Int)
startActivityFromChild
Link copied to clipboard
open fun startActivityFromChild(child: Activity, intent: Intent, requestCode: Int)
startActivityFromFragment
Link copied to clipboard
open fun startActivityFromFragment(fragment: Fragment, intent: Intent, requestCode: Int)
startActivityIfNeeded
Link copied to clipboard
open fun startActivityIfNeeded(intent: Intent, requestCode: Int): Boolean
startForegroundService
Link copied to clipboard
open fun startForegroundService(service: Intent): ComponentName
startInstrumentation
Link copied to clipboard
open fun startInstrumentation(className: ComponentName, profileFile: String, arguments: Bundle): Boolean
startIntentSender
Link copied to clipboard
open fun startIntentSender(intent: IntentSender, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int)
startIntentSenderForResult
Link copied to clipboard
open fun startIntentSenderForResult(intent: IntentSender, requestCode: Int, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int)
startIntentSenderFromChild
Link copied to clipboard
open fun startIntentSenderFromChild(child: Activity, intent: IntentSender, requestCode: Int, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int)
startIntentSenderFromFragment
Link copied to clipboard
open fun startIntentSenderFromFragment(fragment: Fragment, intent: IntentSender, requestCode: Int, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int, options: Bundle)
startLocalVoiceInteraction
Link copied to clipboard
open fun startLocalVoiceInteraction(privateOptions: Bundle)
startLockTask
Link copied to clipboard
open fun startLockTask()
startManagingCursor
Link copied to clipboard
open fun startManagingCursor(c: Cursor)
startNextMatchingActivity
Link copied to clipboard
open fun startNextMatchingActivity(intent: Intent): Boolean
startPostponedEnterTransition
Link copied to clipboard
open fun startPostponedEnterTransition()
startSearch
Link copied to clipboard
open fun startSearch(initialQuery: String, selectInitialQuery: Boolean, appSearchData: Bundle, globalSearch: Boolean)
startService
Link copied to clipboard
open fun startService(service: Intent): ComponentName
startSupportActionMode
Link copied to clipboard
open fun startSupportActionMode(callback: ActionMode.Callback): ActionMode
stopLocalVoiceInteraction
Link copied to clipboard
open fun stopLocalVoiceInteraction()
stopLockTask
Link copied to clipboard
open fun stopLockTask()
stopManagingCursor
Link copied to clipboard
open fun stopManagingCursor(c: Cursor)
stopService
Link copied to clipboard
open fun stopService(name: Intent): Boolean
superDispatchKeyEvent
Link copied to clipboard
open fun superDispatchKeyEvent(event: KeyEvent): Boolean
supportFinishAfterTransition
Link copied to clipboard
open fun supportFinishAfterTransition()
supportInvalidateOptionsMenu
Link copied to clipboard
open fun supportInvalidateOptionsMenu()
supportNavigateUpTo
Link copied to clipboard
open fun supportNavigateUpTo(upIntent: Intent)
supportPostponeEnterTransition
Link copied to clipboard
open fun supportPostponeEnterTransition()
supportRequestWindowFeature
Link copied to clipboard
open fun supportRequestWindowFeature(featureId: Int): Boolean
supportShouldUpRecreateTask
Link copied to clipboard
open fun supportShouldUpRecreateTask(targetIntent: Intent): Boolean
supportStartPostponedEnterTransition
Link copied to clipboard
open fun supportStartPostponedEnterTransition()
takeKeyEvents
Link copied to clipboard
open fun takeKeyEvents(get: Boolean)
triggerSearch
Link copied to clipboard
open fun triggerSearch(query: String, appSearchData: Bundle)
unbindService
Link copied to clipboard
open fun unbindService(conn: ServiceConnection)
unregisterActivityLifecycleCallbacks
Link copied to clipboard
unregisterComponentCallbacks
Link copied to clipboard
open fun unregisterComponentCallbacks(callback: ComponentCallbacks)
unregisterForContextMenu
Link copied to clipboard
open fun unregisterForContextMenu(view: View)
unregisterReceiver
Link copied to clipboard
open fun unregisterReceiver(receiver: BroadcastReceiver)
updateServiceGroup
Link copied to clipboard
open fun updateServiceGroup(conn: ServiceConnection, group: Int, importance: Int)
validateRequestPermissionsRequestCode
Link copied to clipboard
fun validateRequestPermissionsRequestCode(requestCode: Int)

Properties

BEACON_SCREEN_ARGS_KEY
Link copied to clipboard
open val BEACON_SCREEN_ARGS_KEY: String
BEACON_SCREEN_KEY
Link copied to clipboard
open val BEACON_SCREEN_KEY: String
BEACON_SUGGEST_ARTICLES_KEY
Link copied to clipboard
open val BEACON_SUGGEST_ARTICLES_KEY: String
KEY_SIGNATURE
Link copied to clipboard
open val KEY_SIGNATURE: String