BrazeFeedActivity

The BrazeFeedActivity in an Activity class that displays the Braze News Feed Fragment. This class can be used to integrate the Braze News Feed as an Activity. Note: To integrate the Braze News Feed as a Fragment instead of an Activity, use the BrazeFeedFragment class.

Functions

Link copied to clipboard
open fun addContentView(view: View, params: ViewGroup.LayoutParams)
Link copied to clipboard
open fun applyOverrideConfiguration(overrideConfiguration: Configuration)
Link copied to clipboard
open fun bindIsolatedService(service: Intent, flags: Int, instanceName: String, executor: Executor, conn: ServiceConnection): Boolean
Link copied to clipboard
open fun bindService(service: Intent, conn: ServiceConnection, flags: Int): Boolean
Link copied to clipboard
open fun bindServiceAsUser(service: Intent, conn: ServiceConnection, flags: Int, user: UserHandle): Boolean
Link copied to clipboard
open fun checkCallingOrSelfPermission(permission: String): Int
Link copied to clipboard
open fun checkCallingOrSelfUriPermission(uri: Uri, modeFlags: Int): Int
Link copied to clipboard
open fun checkCallingOrSelfUriPermissions(uris: List<Uri>, modeFlags: Int): Array<Int>
Link copied to clipboard
open fun checkCallingPermission(permission: String): Int
Link copied to clipboard
open fun checkCallingUriPermission(uri: Uri, modeFlags: Int): Int
Link copied to clipboard
open fun checkCallingUriPermissions(uris: List<Uri>, modeFlags: Int): Array<Int>
Link copied to clipboard
open fun checkPermission(permission: String, pid: Int, uid: Int): Int
Link copied to clipboard
open fun checkSelfPermission(permission: String): Int
Link copied to clipboard
open fun checkUriPermission(uri: Uri, pid: Int, uid: Int, modeFlags: Int): Int
Link copied to clipboard
open fun checkUriPermissions(uris: List<Uri>, pid: Int, uid: Int, modeFlags: Int): Array<Int>
Link copied to clipboard
open fun clearWallpaper()
Link copied to clipboard
open fun closeContextMenu()
Link copied to clipboard
open fun closeOptionsMenu()
Link copied to clipboard
open fun createAttributionContext(attributionTag: String): Context
Link copied to clipboard
open fun createConfigurationContext(overrideConfiguration: Configuration): Context
Link copied to clipboard
open fun createContext(contextParams: ContextParams): Context
Link copied to clipboard
open fun createContextForSplit(splitName: String): Context
Link copied to clipboard
Link copied to clipboard
open fun createPackageContext(packageName: String, flags: Int): Context
Link copied to clipboard
open fun createPendingResult(requestCode: Int, data: Intent, flags: Int): PendingIntent
Link copied to clipboard
open fun createWindowContext(type: Int, options: Bundle): Context
Link copied to clipboard
Link copied to clipboard
open fun deleteDatabase(name: String): Boolean
Link copied to clipboard
open fun deleteFile(name: String): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dump(prefix: String, fd: FileDescriptor, writer: PrintWriter, args: Array<String>)
Link copied to clipboard
open fun enforceCallingOrSelfPermission(permission: String, message: String)
Link copied to clipboard
open fun enforceCallingOrSelfUriPermission(uri: Uri, modeFlags: Int, message: String)
Link copied to clipboard
open fun enforceCallingPermission(permission: String, message: String)
Link copied to clipboard
open fun enforceCallingUriPermission(uri: Uri, modeFlags: Int, message: String)
Link copied to clipboard
open fun enforcePermission(permission: String, pid: Int, uid: Int, message: String)
Link copied to clipboard
open fun enforceUriPermission(uri: Uri, pid: Int, uid: Int, modeFlags: Int, message: String)
Link copied to clipboard
open fun fileList(): Array<String>
Link copied to clipboard
open fun <T : View?> findViewById(id: Int): T
Link copied to clipboard
open fun finish()
Link copied to clipboard
open fun finishActivity(requestCode: Int)
Link copied to clipboard
open fun finishActivityFromChild(child: Activity, requestCode: Int)
Link copied to clipboard
open fun finishAffinity()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun finishFromChild(child: Activity)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCacheDir(): File
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCodeCacheDir(): File
Link copied to clipboard
fun getColor(id: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getCurrentFocus(): View
Link copied to clipboard
open fun getDatabasePath(name: String): File
Link copied to clipboard
open fun getDataDir(): File
Link copied to clipboard
open fun getDir(name: String, mode: Int): File
Link copied to clipboard
open fun getDisplay(): Display
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <T : ComponentActivity.ExtraData?> getExtraData(extraDataClass: Class<T>): T
Link copied to clipboard
open fun getFilesDir(): File
Link copied to clipboard
open fun getFileStreamPath(name: String): File
Link copied to clipboard
Link copied to clipboard
open fun getIntent(): Intent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMainLooper(): Looper
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getObbDir(): File
Link copied to clipboard
open fun getObbDirs(): Array<File>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getReferrer(): Uri
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getString(resId: Int): String
Link copied to clipboard
Link copied to clipboard
open fun getSystemService(name: String): Any
fun <T> getSystemService(serviceClass: Class<T>): T
Link copied to clipboard
open fun getSystemServiceName(serviceClass: Class<out Any>): String
Link copied to clipboard
open fun getTaskId(): Int
Link copied to clipboard
fun getText(resId: Int): CharSequence
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getWindow(): Window
Link copied to clipboard
Link copied to clipboard
open fun grantUriPermission(toPackage: String, uri: Uri, modeFlags: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isDestroyed(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isFinishing(): Boolean
Link copied to clipboard
open fun isImmersive(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isRestricted(): Boolean
Link copied to clipboard
open fun isTaskRoot(): Boolean
Link copied to clipboard
open fun isUiContext(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun managedQuery(uri: Uri, projection: Array<String>, selection: String, selectionArgs: Array<String>, sortOrder: String): Cursor
Link copied to clipboard
open fun moveDatabaseFrom(sourceContext: Context, name: String): Boolean
Link copied to clipboard
open fun moveSharedPreferencesFrom(sourceContext: Context, name: String): Boolean
Link copied to clipboard
open fun moveTaskToBack(nonRoot: Boolean): Boolean
Link copied to clipboard
open fun navigateUpTo(upIntent: Intent): Boolean
Link copied to clipboard
open fun navigateUpToFromChild(child: Activity, upIntent: Intent): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onActivityReenter(resultCode: Int, data: Intent)
Link copied to clipboard
Link copied to clipboard
open fun onAttachFragment(fragment: Fragment)
Link copied to clipboard
open fun onBackPressed()
Link copied to clipboard
Link copied to clipboard
open fun onContentChanged()
Link copied to clipboard
Link copied to clipboard
open fun onContextMenuClosed(menu: Menu)
Link copied to clipboard
open fun onCreate(savedInstanceState: Bundle)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onCreatePanelMenu(featureId: Int, menu: Menu): Boolean
Link copied to clipboard
open fun onCreatePanelView(featureId: Int): View
Link copied to clipboard
open fun onCreateThumbnail(outBitmap: Bitmap, canvas: Canvas): Boolean
Link copied to clipboard
open fun onCreateView(parent: View, name: String, context: Context, attrs: AttributeSet): View
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onGetDirectActions(cancellationSignal: CancellationSignal, callback: Consumer<List<DirectAction>>)
Link copied to clipboard
open fun onKeyDown(keyCode: Int, event: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyLongPress(keyCode: Int, event: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyMultiple(keyCode: Int, repeatCount: Int, event: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyShortcut(keyCode: Int, event: KeyEvent): Boolean
Link copied to clipboard
open fun onKeyUp(keyCode: Int, event: KeyEvent): Boolean
Link copied to clipboard
open fun onLowMemory()
Link copied to clipboard
open fun onMenuItemSelected(featureId: Int, item: MenuItem): Boolean
Link copied to clipboard
open fun onMenuOpened(featureId: Int, menu: Menu): Boolean
Link copied to clipboard
open fun onMultiWindowModeChanged(isInMultiWindowMode: Boolean)
Link copied to clipboard
open fun onNavigateUp(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onOptionsMenuClosed(menu: Menu)
Link copied to clipboard
open fun onPanelClosed(featureId: Int, menu: Menu)
Link copied to clipboard
open fun onPause()
Link copied to clipboard
open fun onPerformDirectAction(actionId: String, arguments: Bundle, cancellationSignal: CancellationSignal, resultListener: Consumer<Bundle>)
Link copied to clipboard
open fun onPictureInPictureModeChanged(isInPictureInPictureMode: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun onPointerCaptureChanged(hasCapture: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onPreparePanel(featureId: Int, view: View, menu: Menu): Boolean
Link copied to clipboard
Link copied to clipboard
open fun onProvideAssistData(data: Bundle)
Link copied to clipboard
open fun onProvideKeyboardShortcuts(data: List<KeyboardShortcutGroup>, menu: Menu, deviceId: Int)
Link copied to clipboard
Link copied to clipboard
open fun onRequestPermissionsResult(requestCode: Int, permissions: Array<String>, grantResults: Array<Int>)
Link copied to clipboard
open fun onResume()
Link copied to clipboard
open fun onSearchRequested(searchEvent: SearchEvent): Boolean
Link copied to clipboard
open fun onStart()
Link copied to clipboard
open fun onStateNotSaved()
Link copied to clipboard
open fun onStop()
Link copied to clipboard
open fun onTopResumedActivityChanged(isTopResumedActivity: Boolean)
Link copied to clipboard
open fun onTouchEvent(event: MotionEvent): Boolean
Link copied to clipboard
Link copied to clipboard
open fun onTrimMemory(level: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onWindowFocusChanged(hasFocus: Boolean)
Link copied to clipboard
open fun openContextMenu(view: View)
Link copied to clipboard
Link copied to clipboard
open fun openFileOutput(name: String, mode: Int): FileOutputStream
Link copied to clipboard
open fun openOptionsMenu()
Link copied to clipboard
Link copied to clipboard
open fun overridePendingTransition(enterAnim: Int, exitAnim: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun recreate()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun removeDialog(id: Int)
Link copied to clipboard
open fun removeStickyBroadcast(intent: Intent)
Link copied to clipboard
Link copied to clipboard
open fun reportFullyDrawn()
Link copied to clipboard
fun requestPermissions(permissions: Array<String>, requestCode: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T : View?> requireViewById(id: Int): T
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun revokeUriPermission(uri: Uri, modeFlags: Int)
Link copied to clipboard
fun runOnUiThread(action: Runnable)
Link copied to clipboard
open fun sendBroadcast(intent: Intent)
Link copied to clipboard
open fun sendBroadcastAsUser(intent: Intent, user: UserHandle)
Link copied to clipboard
open fun sendBroadcastWithMultiplePermissions(intent: Intent, receiverPermissions: Array<String>)
Link copied to clipboard
open fun sendOrderedBroadcast(intent: Intent, receiverPermission: String)
Link copied to clipboard
open fun sendOrderedBroadcastAsUser(intent: Intent, user: UserHandle, receiverPermission: String, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
Link copied to clipboard
open fun sendStickyBroadcast(intent: Intent)
Link copied to clipboard
Link copied to clipboard
open fun sendStickyOrderedBroadcast(intent: Intent, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
Link copied to clipboard
open fun sendStickyOrderedBroadcastAsUser(intent: Intent, user: UserHandle, resultReceiver: BroadcastReceiver, scheduler: Handler, initialCode: Int, initialData: String, initialExtras: Bundle)
Link copied to clipboard
open fun setActionBar(toolbar: Toolbar)
Link copied to clipboard
open fun setContentView(layoutResID: Int)
Link copied to clipboard
Link copied to clipboard
fun setFeatureDrawable(featureId: Int, drawable: Drawable)
Link copied to clipboard
fun setFeatureDrawableAlpha(featureId: Int, alpha: Int)
Link copied to clipboard
fun setFeatureDrawableResource(featureId: Int, resId: Int)
Link copied to clipboard
fun setFeatureDrawableUri(featureId: Int, uri: Uri)
Link copied to clipboard
Link copied to clipboard
open fun setImmersive(i: Boolean)
Link copied to clipboard
open fun setInheritShowWhenLocked(inheritShowWhenLocked: Boolean)
Link copied to clipboard
open fun setIntent(newIntent: Intent)
Link copied to clipboard
open fun setLocusContext(locusId: LocusId, bundle: Bundle)
Link copied to clipboard
Link copied to clipboard
fun setProgress(progress: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setRequestedOrientation(requestedOrientation: Int)
Link copied to clipboard
fun setResult(resultCode: Int)
Link copied to clipboard
fun setSecondaryProgress(secondaryProgress: Int)
Link copied to clipboard
open fun setShouldDockBigOverlays(shouldDockBigOverlays: Boolean)
Link copied to clipboard
open fun setShowWhenLocked(showWhenLocked: Boolean)
Link copied to clipboard
Link copied to clipboard
open fun setTheme(resid: Int)
Link copied to clipboard
open fun setTitle(title: CharSequence)
Link copied to clipboard
open fun setTitleColor(textColor: Int)
Link copied to clipboard
open fun setTranslucent(translucent: Boolean): Boolean
Link copied to clipboard
open fun setTurnScreenOn(turnScreenOn: Boolean)
Link copied to clipboard
open fun setVisible(visible: Boolean)
Link copied to clipboard
fun setVolumeControlStream(streamType: Int)
Link copied to clipboard
open fun setVrModeEnabled(enabled: Boolean, requestedComponent: ComponentName)
Link copied to clipboard
open fun setWallpaper(bitmap: Bitmap)
Link copied to clipboard
Link copied to clipboard
open fun shouldUpRecreateTask(targetIntent: Intent): Boolean
Link copied to clipboard
open fun showAssist(args: Bundle): Boolean
Link copied to clipboard
fun showDialog(id: Int)
fun showDialog(id: Int, args: Bundle): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun startActivities(intents: Array<Intent>)
Link copied to clipboard
open fun startActivity(intent: Intent)
Link copied to clipboard
open fun startActivityForResult(intent: Intent, requestCode: Int)
Link copied to clipboard
open fun startActivityFromChild(child: Activity, intent: Intent, requestCode: Int)
Link copied to clipboard
open fun startActivityFromFragment(fragment: Fragment, intent: Intent, requestCode: Int)
Link copied to clipboard
open fun startActivityIfNeeded(intent: Intent, requestCode: Int): Boolean
Link copied to clipboard
Link copied to clipboard
open fun startInstrumentation(className: ComponentName, profileFile: String, arguments: Bundle): Boolean
Link copied to clipboard
open fun startIntentSender(intent: IntentSender, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int)
Link copied to clipboard
open fun startIntentSenderForResult(intent: IntentSender, requestCode: Int, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int)
Link copied to clipboard
open fun startIntentSenderFromChild(child: Activity, intent: IntentSender, requestCode: Int, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int)
Link copied to clipboard
open fun startIntentSenderFromFragment(fragment: Fragment, intent: IntentSender, requestCode: Int, fillInIntent: Intent, flagsMask: Int, flagsValues: Int, extraFlags: Int, options: Bundle)
Link copied to clipboard
open fun startLocalVoiceInteraction(privateOptions: Bundle)
Link copied to clipboard
open fun startLockTask()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun startSearch(initialQuery: String, selectInitialQuery: Boolean, appSearchData: Bundle, globalSearch: Boolean)
Link copied to clipboard
open fun startService(service: Intent): ComponentName
Link copied to clipboard
Link copied to clipboard
open fun stopLockTask()
Link copied to clipboard
Link copied to clipboard
open fun stopService(name: Intent): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun takeKeyEvents(get: Boolean)
Link copied to clipboard
open fun triggerSearch(query: String, appSearchData: Bundle)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun updateServiceGroup(conn: ServiceConnection, group: Int, importance: Int)

Properties

Link copied to clipboard
val ACCESSIBILITY_SERVICE: String = "accessibility"
Link copied to clipboard
val ACCOUNT_SERVICE: String = "account"
Link copied to clipboard
val ACTIVITY_SERVICE: String = "activity"
Link copied to clipboard
val ALARM_SERVICE: String = "alarm"
Link copied to clipboard
val APP_OPS_SERVICE: String = "appops"
Link copied to clipboard
val APP_SEARCH_SERVICE: String = "app_search"
Link copied to clipboard
val APPWIDGET_SERVICE: String = "appwidget"
Link copied to clipboard
val AUDIO_SERVICE: String = "audio"
Link copied to clipboard
val BATTERY_SERVICE: String = "batterymanager"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val BIND_EXTERNAL_SERVICE: Int = -2147483648
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val BIOMETRIC_SERVICE: String = "biometric"
Link copied to clipboard
val BLOB_STORE_SERVICE: String = "blob_store"
Link copied to clipboard
val BLUETOOTH_SERVICE: String = "bluetooth"
Link copied to clipboard
val BUGREPORT_SERVICE: String = "bugreport"
Link copied to clipboard
val CAMERA_SERVICE: String = "camera"
Link copied to clipboard
val CAPTIONING_SERVICE: String = "captioning"
Link copied to clipboard
val CARRIER_CONFIG_SERVICE: String = "carrier_config"
Link copied to clipboard
val CLIPBOARD_SERVICE: String = "clipboard"
Link copied to clipboard
val COMPANION_DEVICE_SERVICE: String = "companiondevice"
Link copied to clipboard
val CONNECTIVITY_DIAGNOSTICS_SERVICE: String = "connectivity_diagnostics"
Link copied to clipboard
val CONNECTIVITY_SERVICE: String = "connectivity"
Link copied to clipboard
val CONSUMER_IR_SERVICE: String = "consumer_ir"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val CROSS_PROFILE_APPS_SERVICE: String = "crossprofileapps"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val DEVICE_POLICY_SERVICE: String = "device_policy"
Link copied to clipboard
val DISPLAY_HASH_SERVICE: String = "display_hash"
Link copied to clipboard
val DISPLAY_SERVICE: String = "display"
Link copied to clipboard
val DOMAIN_VERIFICATION_SERVICE: String = "domain_verification"
Link copied to clipboard
val DOWNLOAD_SERVICE: String = "download"
Link copied to clipboard
val DROPBOX_SERVICE: String = "dropbox"
Link copied to clipboard
val EUICC_SERVICE: String = "euicc"
Link copied to clipboard
val FILE_INTEGRITY_SERVICE: String = "file_integrity"
Link copied to clipboard
val FINGERPRINT_SERVICE: String = "fingerprint"
Link copied to clipboard
val GAME_SERVICE: String = "game"
Link copied to clipboard
val HARDWARE_PROPERTIES_SERVICE: String = "hardware_properties"
Link copied to clipboard
val INPUT_METHOD_SERVICE: String = "input_method"
Link copied to clipboard
val INPUT_SERVICE: String = "input"
Link copied to clipboard
val IPSEC_SERVICE: String = "ipsec"
Link copied to clipboard
val JOB_SCHEDULER_SERVICE: String = "jobscheduler"
Link copied to clipboard
val KEYGUARD_SERVICE: String = "keyguard"
Link copied to clipboard
val LAUNCHER_APPS_SERVICE: String = "launcherapps"
Link copied to clipboard
val LAYOUT_INFLATER_SERVICE: String = "layout_inflater"
Link copied to clipboard
val LOCALE_SERVICE: String = "locale"
Link copied to clipboard
val LOCATION_SERVICE: String = "location"
Link copied to clipboard
val MEDIA_COMMUNICATION_SERVICE: String = "media_communication"
Link copied to clipboard
val MEDIA_METRICS_SERVICE: String = "media_metrics"
Link copied to clipboard
val MEDIA_PROJECTION_SERVICE: String = "media_projection"
Link copied to clipboard
val MEDIA_ROUTER_SERVICE: String = "media_router"
Link copied to clipboard
val MEDIA_SESSION_SERVICE: String = "media_session"
Link copied to clipboard
val MIDI_SERVICE: String = "midi"
Link copied to clipboard
val MODE_APPEND: Int = 32768
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val MODE_PRIVATE: Int = 0
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val NETWORK_STATS_SERVICE: String = "netstats"
Link copied to clipboard
val NFC_SERVICE: String = "nfc"
Link copied to clipboard
val NOTIFICATION_SERVICE: String = "notification"
Link copied to clipboard
val NSD_SERVICE: String = "servicediscovery"
Link copied to clipboard
val PEOPLE_SERVICE: String = "people"
Link copied to clipboard
val PERFORMANCE_HINT_SERVICE: String = "performance_hint"
Link copied to clipboard
val POWER_SERVICE: String = "power"
Link copied to clipboard
val PRINT_SERVICE: String = "print"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val RESTRICTIONS_SERVICE: String = "restrictions"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val RESULT_OK: Int = -1
Link copied to clipboard
val ROLE_SERVICE: String = "role"
Link copied to clipboard
val SEARCH_SERVICE: String = "search"
Link copied to clipboard
val SENSOR_SERVICE: String = "sensor"
Link copied to clipboard
val SHORTCUT_SERVICE: String = "shortcut"
Link copied to clipboard
val STATUS_BAR_SERVICE: String = "statusbar"
Link copied to clipboard
val STORAGE_SERVICE: String = "storage"
Link copied to clipboard
val STORAGE_STATS_SERVICE: String = "storagestats"
Link copied to clipboard
val SYSTEM_HEALTH_SERVICE: String = "systemhealth"
Link copied to clipboard
val TELECOM_SERVICE: String = "telecom"
Link copied to clipboard
val TELEPHONY_IMS_SERVICE: String = "telephony_ims"
Link copied to clipboard
val TELEPHONY_SERVICE: String = "phone"
Link copied to clipboard
val TELEPHONY_SUBSCRIPTION_SERVICE: String = "telephony_subscription_service"
Link copied to clipboard
val TEXT_CLASSIFICATION_SERVICE: String = "textclassification"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val TV_INPUT_SERVICE: String = "tv_input"
Link copied to clipboard
val TV_INTERACTIVE_APP_SERVICE: String = "tv_interactive_app"
Link copied to clipboard
val UI_MODE_SERVICE: String = "uimode"
Link copied to clipboard
val USAGE_STATS_SERVICE: String = "usagestats"
Link copied to clipboard
val USB_SERVICE: String = "usb"
Link copied to clipboard
val USER_SERVICE: String = "user"
Link copied to clipboard
val VIBRATOR_MANAGER_SERVICE: String = "vibrator_manager"
Link copied to clipboard
val VIBRATOR_SERVICE: String = "vibrator"
Link copied to clipboard
val VPN_MANAGEMENT_SERVICE: String = "vpn_management"
Link copied to clipboard
val WALLPAPER_SERVICE: String = "wallpaper"
Link copied to clipboard
val WIFI_AWARE_SERVICE: String = "wifiaware"
Link copied to clipboard
val WIFI_P2P_SERVICE: String = "wifip2p"
Link copied to clipboard
Link copied to clipboard
val WIFI_SERVICE: String = "wifi"
Link copied to clipboard
val WINDOW_SERVICE: String = "window"

Extensions

Link copied to clipboard
fun Context?.hasPermission(permission: String): Boolean

Helper method for checking if a permission is allowed. In case of error the permission is reported as denied.

Link copied to clipboard
Link copied to clipboard

Requests the push permission prompt to be shown if on Android API 13+ and the push permission hasn't already been granted.

Link copied to clipboard