DfuBaseService

The DFU Service provides full support for Over-the-Air (OTA) Device Firmware Update (DFU) by Nordic Semiconductor. With the Soft Device 7.0.0+ it allows to upload a new Soft Device, new Bootloader and a new Application. For older soft devices only the Application update is supported.

To run the service to your application extend it in your project and overwrite the missing method. Remember to add your service class to the AndroidManifest.xml file.

The DfuServiceInitiator object should be used to start the DFU Service.

final DfuServiceInitiator starter = new DfuServiceInitiator(mSelectedDevice.getAddress())
		.setDeviceName(mSelectedDevice.getName())
		.setKeepBond(keepBond)
		.setZip(mFileStreamUri, mFilePath) // where one, URI or path, should be null
		.start(this, DfuService.class);

You may register the progress and log listeners using the DfuServiceListenerHelper helper class. See DfuProgressListener and DfuLogListener for more information.

The service will show its progress on the notification bar and will send local broadcasts to the application.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val ACCESSIBILITY_SERVICE: String = "accessibility"
Link copied to clipboard
val ACCOUNT_SERVICE: String = "account"
Link copied to clipboard
val ACTION_ABORT: Int = 2
Aborts the upload.
Link copied to clipboard
val ACTION_PAUSE: Int = 0
Pauses the upload.
Link copied to clipboard
Resumes the upload that has been paused before using ACTION_PAUSE.
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
Link copied to clipboard
val BIND_EXTERNAL_SERVICE: Int = -2147483648
Link copied to clipboard
val BIND_EXTERNAL_SERVICE_LONG: Long = 4611686018427387904
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
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 BROADCAST_ACTION: String = "no.nordicsemi.android.dfu.broadcast.BROADCAST_ACTION"
Activity may broadcast this broadcast in order to pause, resume or abort DFU process.
Link copied to clipboard
val BROADCAST_ERROR: String = "no.nordicsemi.android.dfu.broadcast.BROADCAST_ERROR"
The broadcast error message contains the following extras:
Link copied to clipboard
val BROADCAST_LOG: String = "no.nordicsemi.android.dfu.broadcast.BROADCAST_LOG"
The log events are only broadcast when there is no nRF Logger installed.
Link copied to clipboard
val BROADCAST_PROGRESS: String = "no.nordicsemi.android.dfu.broadcast.BROADCAST_PROGRESS"
The broadcast message contains the following extras:
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
val CONTACT_KEYS_SERVICE: String = "contact_keys"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val CREDENTIAL_SERVICE: String = "credential"
Link copied to clipboard
val CROSS_PROFILE_APPS_SERVICE: String = "crossprofileapps"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val DEVICE_LOCK_SERVICE: String = "device_lock"
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
Thrown when the the Bluetooth adapter is disabled.
Link copied to clipboard
The flag set when one of android.bluetooth.BluetoothGattCallback methods was called with status other than GATT_SUCCESS.
Link copied to clipboard
The flag set when the onConnectionStateChange method was called with status other than GATT_SUCCESS.
Link copied to clipboard
val ERROR_CRC_ERROR: Int = 4109
Thrown when the received CRC does not match with the calculated one.
Link copied to clipboard
Link copied to clipboard
Thrown when device had to be paired before the DFU process was started.
Link copied to clipboard
val ERROR_FILE_ERROR: Int = 4098
Thrown if service was unable to open the file (java.io.IOException has been thrown).
Link copied to clipboard
Thrown when input file is not a valid HEX or ZIP file.
Link copied to clipboard
Thrown when java.io.IOException occurred when reading from file.
Link copied to clipboard
Link copied to clipboard
Thrown when the firmware file is not word-aligned.
Link copied to clipboard
Thrown when the the service does not support given type or mime-type.
Link copied to clipboard
DFU Bootloader version 0.6+ requires sending the Init packet.
Link copied to clipboard
Thrown when unknown response has been obtained from the target.
Link copied to clipboard
val ERROR_MASK: Int = 4096
If this bit is set than the progress value indicates an error.
Link copied to clipboard
Thrown when the DFU library lost track of what is going on.
Link copied to clipboard
Flag set when the DFU target returned a DFU error.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Error thrown when gatt.discoverServices(); returns false.
Link copied to clipboard
Thrown when the service discovery has finished but the DFU service has not been found.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val EUICC_SERVICE: String = "euicc"
Link copied to clipboard
val EXTRA_ACTION: String = "no.nordicsemi.android.dfu.extra.EXTRA_ACTION"
The action extra.
Link copied to clipboard
val EXTRA_AVG_SPEED_B_PER_MS: String = "no.nordicsemi.android.dfu.extra.EXTRA_AVG_SPEED_B_PER_MS"
The average upload speed in bytes/millisecond for the current part.
Link copied to clipboard
val EXTRA_CURRENT_MTU: String = "no.nordicsemi.android.dfu.extra.EXTRA_CURRENT_MTU"
This extra value will be used when MTU request returned with an error.
val EXTRA_CUSTOM_UUIDS_FOR_BUTTONLESS_DFU_WITH_BOND_SHARING: String = "no.nordicsemi.android.dfu.extra.EXTRA_CUSTOM_UUIDS_FOR_BUTTONLESS_DFU_WITH_BOND_SHARING"
val EXTRA_CUSTOM_UUIDS_FOR_BUTTONLESS_DFU_WITHOUT_BOND_SHARING: String = "no.nordicsemi.android.dfu.extra.EXTRA_CUSTOM_UUIDS_FOR_BUTTONLESS_DFU_WITHOUT_BOND_SHARING"
val EXTRA_CUSTOM_UUIDS_FOR_EXPERIMENTAL_BUTTONLESS_DFU: String = "no.nordicsemi.android.dfu.extra.EXTRA_CUSTOM_UUIDS_FOR_EXPERIMENTAL_BUTTONLESS_DFU"
Link copied to clipboard
val EXTRA_CUSTOM_UUIDS_FOR_LEGACY_DFU: String = "no.nordicsemi.android.dfu.extra.EXTRA_CUSTOM_UUIDS_FOR_LEGACY_DFU"
Link copied to clipboard
val EXTRA_CUSTOM_UUIDS_FOR_SECURE_DFU: String = "no.nordicsemi.android.dfu.extra.EXTRA_CUSTOM_UUIDS_FOR_SECURE_DFU"
Link copied to clipboard
val EXTRA_DATA: String = "no.nordicsemi.android.dfu.extra.EXTRA_DATA"
An extra field with progress and error information used in broadcast events.
Link copied to clipboard
val EXTRA_DATA_OBJECT_DELAY: String = "no.nordicsemi.android.dfu.extra.EXTRA_DATA_OBJECT_DELAY"
The duration of a delay that will be added before sending each data packet in Secure DFU, in milliseconds.
Link copied to clipboard
val EXTRA_DEVICE_ADDRESS: String = "no.nordicsemi.android.dfu.extra.EXTRA_DEVICE_ADDRESS"
The address of the device to update.
Link copied to clipboard
val EXTRA_DEVICE_NAME: String = "no.nordicsemi.android.dfu.extra.EXTRA_DEVICE_NAME"
The optional device name.
Link copied to clipboard
val EXTRA_DISABLE_NOTIFICATION: String = "no.nordicsemi.android.dfu.extra.EXTRA_DISABLE_NOTIFICATION"
A boolean indicating whether to disable the progress notification in the status bar.
Link copied to clipboard
val EXTRA_DISABLE_RESUME: String = "no.nordicsemi.android.dfu.extra.EXTRA_DISABLE_RESUME"
This options allows to disable the resume feature in Secure DFU.
Link copied to clipboard
val EXTRA_ERROR_TYPE: String = "no.nordicsemi.android.dfu.extra.EXTRA_ERROR_TYPE"
The type of the error.
Link copied to clipboard
val EXTRA_FILE_MIME_TYPE: String = "no.nordicsemi.android.dfu.extra.EXTRA_MIME_TYPE"
The input file mime-type.
Link copied to clipboard
val EXTRA_FILE_PATH: String = "no.nordicsemi.android.dfu.extra.EXTRA_FILE_PATH"
A path to the file with the new firmware.
Link copied to clipboard
val EXTRA_FILE_RES_ID: String = "no.nordicsemi.android.dfu.extra.EXTRA_FILE_RES_ID"
See EXTRA_FILE_PATH for details.
Link copied to clipboard
val EXTRA_FILE_TYPE: String = "no.nordicsemi.android.dfu.extra.EXTRA_FILE_TYPE"
This optional extra parameter may contain a file type.
Link copied to clipboard
val EXTRA_FILE_URI: String = "no.nordicsemi.android.dfu.extra.EXTRA_FILE_URI"
See EXTRA_FILE_PATH for details.
Link copied to clipboard
val EXTRA_FORCE_DFU: String = "no.nordicsemi.android.dfu.extra.EXTRA_FORCE_DFU"
This property must contain a boolean value.
val EXTRA_FORCE_SCANNING_FOR_BOOTLOADER_IN_LEGACY_DFU: String = "no.nordicsemi.android.dfu.extra.EXTRA_FORCE_SCANNING_FOR_BOOTLOADER_IN_LEGACY_DFU"
This flag indicates whether the service should scan for bootloader in Legacy DFU after switching using buttonless service.
Link copied to clipboard
val EXTRA_FOREGROUND_SERVICE: String = "no.nordicsemi.android.dfu.extra.EXTRA_FOREGROUND_SERVICE"
A boolean indicating whether the DFU service should be set as a foreground service.
Link copied to clipboard
val EXTRA_INIT_FILE_PATH: String = "no.nordicsemi.android.dfu.extra.EXTRA_INIT_FILE_PATH"
The Init packet URI.
Link copied to clipboard
val EXTRA_INIT_FILE_RES_ID: String = "no.nordicsemi.android.dfu.extra.EXTRA_INIT_FILE_RES_ID"
The Init packet URI.
Link copied to clipboard
val EXTRA_INIT_FILE_URI: String = "no.nordicsemi.android.dfu.extra.EXTRA_INIT_FILE_URI"
The Init packet URI.
Link copied to clipboard
val EXTRA_KEEP_BOND: String = "no.nordicsemi.android.dfu.extra.EXTRA_KEEP_BOND"
This flag indicated whether the bond information should be kept or removed after an upgrade of the Application.
Link copied to clipboard
val EXTRA_LOG_LEVEL: String = "no.nordicsemi.android.dfu.extra.EXTRA_LOG_LEVEL"
Link copied to clipboard
val EXTRA_LOG_MESSAGE: String = "no.nordicsemi.android.dfu.extra.EXTRA_LOG_INFO"
Link copied to clipboard
val EXTRA_MAX_DFU_ATTEMPTS: String = "no.nordicsemi.android.dfu.extra.EXTRA_MAX_DFU_ATTEMPTS"
Maximum number of DFU attempts.
Link copied to clipboard
val EXTRA_MBR_SIZE: String = "no.nordicsemi.android.dfu.extra.EXTRA_MBR_SIZE"
The MBR size.
Link copied to clipboard
val EXTRA_MTU: String = "no.nordicsemi.android.dfu.extra.EXTRA_MTU"
This extra allows you to control the MTU that will be requested (on Lollipop or newer devices).
val EXTRA_PACKET_RECEIPT_NOTIFICATIONS_ENABLED: String = "no.nordicsemi.android.dfu.extra.EXTRA_PRN_ENABLED"
This property must contain a boolean value.
Link copied to clipboard
val EXTRA_PACKET_RECEIPT_NOTIFICATIONS_VALUE: String = "no.nordicsemi.android.dfu.extra.EXTRA_PRN_VALUE"
This property must contain a positive integer value, usually from range 1-200.
Link copied to clipboard
val EXTRA_PART_CURRENT: String = "no.nordicsemi.android.dfu.extra.EXTRA_PART_CURRENT"
The number of currently transferred part.
Link copied to clipboard
val EXTRA_PARTS_TOTAL: String = "no.nordicsemi.android.dfu.extra.EXTRA_PARTS_TOTAL"
Number of parts in total.
Link copied to clipboard
val EXTRA_PROGRESS: String = "no.nordicsemi.android.dfu.extra.EXTRA_PROGRESS"
An extra field to send the progress or error information in the DFU notification.
Link copied to clipboard
val EXTRA_RESTORE_BOND: String = "no.nordicsemi.android.dfu.extra.EXTRA_RESTORE_BOND"
If the new firmware (application) does not share the bond information with the old one, the bond information is lost.
Link copied to clipboard
val EXTRA_SCAN_DELAY: String = "no.nordicsemi.android.dfu.extra.EXTRA_SCAN_DELAY"
Link copied to clipboard
val EXTRA_SCAN_TIMEOUT: String = "no.nordicsemi.android.dfu.extra.EXTRA_SCAN_TIMEOUT"
Link copied to clipboard
val EXTRA_SPEED_B_PER_MS: String = "no.nordicsemi.android.dfu.extra.EXTRA_SPEED_B_PER_MS"
The current upload speed in bytes/millisecond.
Link copied to clipboard
val EXTRA_UNSAFE_EXPERIMENTAL_BUTTONLESS_DFU: String = "no.nordicsemi.android.dfu.extra.EXTRA_UNSAFE_EXPERIMENTAL_BUTTONLESS_DFU"
Set this flag to true to enable experimental buttonless feature in Secure DFU from SDK 12.
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 GRAMMATICAL_INFLECTION_SERVICE: String = "grammatical_inflection"
Link copied to clipboard
val HARDWARE_PROPERTIES_SERVICE: String = "hardware_properties"
Link copied to clipboard
val HEALTHCONNECT_SERVICE: String = "healthconnect"
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
Log entries level for applications
Link copied to clipboard
Level used just for debugging purposes.
Link copied to clipboard
Log entries with very high importance, like errors
Link copied to clipboard
Default logging level for important entries
Link copied to clipboard
Log entries with minor importance
Link copied to clipboard
Log entries with high importance
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 MIME_TYPE_OCTET_STREAM: String = "application/octet-stream"
Link copied to clipboard
val MIME_TYPE_ZIP: String = "application/zip"
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
Link copied to clipboard
val NOTIFICATION_ID: Int = 283
Link copied to clipboard
val NOTIFICATION_SERVICE: String = "notification"
Link copied to clipboard
val NSD_SERVICE: String = "servicediscovery"
Link copied to clipboard
val OVERLAY_SERVICE: String = "overlay"
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 PERSISTENT_DATA_BLOCK_SERVICE: String = "persistent_data_block"
Link copied to clipboard
val POWER_SERVICE: String = "power"
Link copied to clipboard
val PRINT_SERVICE: String = "print"
Link copied to clipboard
val PROFILING_SERVICE: String = "profiling"
Link copied to clipboard
The upload has been aborted.
Link copied to clipboard
The connection is successful.
Link copied to clipboard
Service is connecting to the remote DFU target.
Link copied to clipboard
Service is disconnecting from the DFU target.
Link copied to clipboard
Service has triggered a switch to bootloader mode.
Link copied to clipboard
Service is enabling notifications and starting transmission.
Link copied to clipboard
Service is sending validation request to the remote DFU target.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val RESTRICTIONS_SERVICE: String = "restrictions"
Link copied to clipboard
val ROLE_SERVICE: String = "role"
Link copied to clipboard
val SEARCH_SERVICE: String = "search"
Link copied to clipboard
val SECURITY_STATE_SERVICE: String = "security_state"
Link copied to clipboard
val SENSOR_SERVICE: String = "sensor"
Link copied to clipboard
val SHORTCUT_SERVICE: String = "shortcut"
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 START_STICKY: Int = 1
Link copied to clipboard
Link copied to clipboard
val STATUS_BAR_SERVICE: String = "statusbar"
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
The file contains a new version of Application.
Link copied to clipboard
val TYPE_AUTO: Int = 0
A ZIP file that consists of more than 1 file.
Link copied to clipboard
The file contains a new version of Bootloader.
Link copied to clipboard
The file contains a new version of Soft Device.
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 VIRTUAL_DEVICE_SERVICE: String = "virtualdevice"
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"

Functions

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 checkContentUriPermissionFull(p: Uri, p1: Int, p2: Int, p3: Int): Int
Link copied to clipboard
open fun checkPermission(p: String, p1: Int, p2: Int): Int
Link copied to clipboard
Link copied to clipboard
open fun checkUriPermission(p: Uri, p1: Int, p2: Int, p3: Int): Int
Link copied to clipboard
open fun checkUriPermissions(p: List<Uri>, p1: Int, p2: Int, p3: Int): Array<Int>
Link copied to clipboard
open fun clearWallpaper()
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 deleteFile(p: String): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun enforceCallingUriPermission(p: Uri, p1: Int, p2: String)
Link copied to clipboard
open fun enforcePermission(p: String, p1: Int, p2: Int, p3: String)
Link copied to clipboard
open fun enforceUriPermission(p: Uri, p1: Int, p2: Int, p3: Int, p4: String)
Link copied to clipboard
open fun fileList(): Array<String>
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
open fun getCodeCacheDir(): File
Link copied to clipboard
fun getColor(p: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDataDir(): File
Link copied to clipboard
open fun getDeviceId(): Int
Link copied to clipboard
open fun getDir(p: String, p1: 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 getFilesDir(): File
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
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun grantUriPermission(p: String, p1: Uri, p2: Int)
Link copied to clipboard
Link copied to clipboard
open fun isRestricted(): Boolean
Link copied to clipboard
open fun isUiContext(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onBind(p: Intent): IBinder
Link copied to clipboard
Link copied to clipboard
open fun onCreate()
Link copied to clipboard
open fun onDestroy()
Link copied to clipboard
open fun onLowMemory()
Link copied to clipboard
open fun onRebind(p: Intent)
Link copied to clipboard
open fun onStart(p: Intent, p1: Int)
Link copied to clipboard
open fun onStartCommand(p: Intent, p1: Int, p2: Int): Int
Link copied to clipboard
open fun onTaskRemoved(rootIntent: Intent)
Link copied to clipboard
open fun onTimeout(p: Int)
Link copied to clipboard
open fun onTrimMemory(p: Int)
Link copied to clipboard
open fun onUnbind(p: Intent): 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
Link copied to clipboard
open fun revokeUriPermission(p: Uri, p1: Int)
Link copied to clipboard
open fun sendBroadcast(p: 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
Link copied to clipboard
Link copied to clipboard
open fun setTheme(p: Int)
Link copied to clipboard
open fun setWallpaper(p: Bitmap)
Link copied to clipboard
Link copied to clipboard
open fun startActivity(p: Intent)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun startIntentSender(p: IntentSender, p1: Intent, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun stopSelf()
Link copied to clipboard
Link copied to clipboard
open fun stopService(p: Intent): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates or updates the notification in the Notification Manager.
Link copied to clipboard