IRemoteService

Functions

Link copied to clipboard
fun adaptiveBrightness(enabled: Boolean): Int

Turn adaptive screen lighting on or off

Link copied to clipboard
fun addWifi(param: Wifi): Int

Add a WI-FI network to the device with subsequent connection

Link copied to clipboard
fun appCacheDelete(app: String): Int

Delete the cache of the specified application

Link copied to clipboard
fun appStorageDelete(app: String): Int

Delete the storage of the specified application

Link copied to clipboard
fun changeFontSize(size: String): Int

Change font size

Link copied to clipboard
fun changeKeyboard(app: String): Int

Change keyboard

Link copied to clipboard
fun changeLocationProviders(providers: Array<String>): Int

Changes providers for location

Link copied to clipboard
fun changeRoamBand(value: Int): Int

Change roam intra band

Link copied to clipboard
fun changeRSSIDifference(value: Int): Int

Change wi-fi switching delta difference

Link copied to clipboard
fun changeRSSIThreshold(value: Int): Int

Change the value of rssi, at which the wi-fi module will look for other networks to connect

Link copied to clipboard
fun changeScreenDensity(size: String): Int

Change screen density

Link copied to clipboard
fun changeSimSlot(slot: Int): Int

Change sim slot

Link copied to clipboard
fun changeWifiChannels(band: Int, channels: String): Int

Change wifi channels

Link copied to clipboard
fun changeWifiCountry(country: String): Int

Change wifi country

Link copied to clipboard
fun changeWifiFrequency(band: Int): Int

Change wifi frequency

Link copied to clipboard
fun clearBluetoothList(devices: List<String>): Int

Clear the list of paired Bluetooth devices

Link copied to clipboard

Clear whitelist apps

Link copied to clipboard
fun clearWifiList(wifiList: List<String>): Int

Deletes the specified networks by their SSID or all networks.

Link copied to clipboard
fun connectWifi(ssid: String): Int

Connecting to a previously added WI-FI network

Link copied to clipboard
fun copyFile(oldPath: String, newPath: String): Int

Copy file

Link copied to clipboard
fun deleteApn(where: String, whereArgs: List<String>): Int

Delete apn

Link copied to clipboard
fun deleteApplications(apps: List<String>): Int

Uninstall installed apps by package name or app name

Link copied to clipboard
fun disconnectWifi(): Int

Disconnect from the current network

Link copied to clipboard
fun enable80211d(enabled: Boolean): Int

Enable80211d

Link copied to clipboard
fun enable80211r(enabled: Boolean): Int

Enable80211r

Link copied to clipboard
fun enableAdb(enabled: Boolean): Int

Enable adb

Link copied to clipboard
fun enableAirplane(enabled: Boolean): Int

Turns airplane mode on and off

Link copied to clipboard
fun enableApplication(apps: List<String>, enabled: Boolean): Int

Turns the specified apps on and off

Link copied to clipboard
fun enableAutoRotateScreen(enabled: Boolean): Int

Turns the screen auto-rotate on and off

Link copied to clipboard
fun enableBluetooth(enabled: Boolean): Int

Turns the Bluetooth module on and off

Link copied to clipboard
fun enableCameraApi(enabled: Boolean): Int

Enable camera

Link copied to clipboard
fun enableDarkTheme(enabled: Boolean): Int

Enable dark theme

Link copied to clipboard
fun enabledKeys(keyCode: IntArray, enabled: Boolean): Int

Enabled keys

Link copied to clipboard
fun enableEthernet(enabled: Boolean): Int

Enable ethernet

Link copied to clipboard
fun enableLocation(enabled: Boolean): Int

Turn the location feature on or off on your device

Link copied to clipboard
fun enableMobileData(enabled: Boolean): Int

Turns SIM mobile data on and off

Link copied to clipboard
fun enableNFC(enabled: Boolean): Int

Turns the NFC module on and off

Link copied to clipboard
fun enableNightMode(param: NightMode): Int

Enable night mode

Link copied to clipboard
fun enablePowerSaveWifi(enabled: Boolean): Int

Enable power save wifi

Link copied to clipboard
fun enableRemapKey(enabled: Boolean): Int

Turns the "Remap Key" function on and off

Link copied to clipboard
fun enableSDCard(enabled: Boolean): Int

Enable SDCard

Link copied to clipboard
fun enableWifi(enabled: Boolean): Int

Turns the WI-FI module on and off

Link copied to clipboard
fun enableWifiSleepPolicy(enabled: Boolean): Int

Enable or disable wifi sleep policy

Link copied to clipboard
fun enableWifiThrottling(enabled: Boolean): Int

Enable or disable wifi throttling

Link copied to clipboard
fun exportKeyRemapSettings(path: String): Int

Export key remap settings

Link copied to clipboard
fun exportScannerSettings(profileName: String): Int

Export scanner settings

Link copied to clipboard
fun getActiveSIM(): IntArray

Get active SIM

Link copied to clipboard
fun getBrightness(): Int

Get brightness

Link copied to clipboard
fun getCurrentKeyboard(): String

Get current keyboard

Link copied to clipboard
fun getCurrentLocale(): String

Get current locale

Link copied to clipboard
fun getDefaultLauncher(): String

Get default launcher

Link copied to clipboard
fun getDensitySize(): String

Get density size

Link copied to clipboard
fun getDisabledKeys(): String

Get disabled keys

Link copied to clipboard
fun getDisplaySleep(): Float

Get display sleep

Link copied to clipboard
fun getFontSize(): String

Get font size

Link copied to clipboard
fun getHourFormat(): Int

Get hour format

Link copied to clipboard
fun getLocationProviders(): String

Get location providers

Link copied to clipboard
fun getNTPServer(): String

Get NTP server

Link copied to clipboard
fun getOTAServer(): String

Get OTA server

Link copied to clipboard
fun getStreamVolume(stream: Int): Int

Get stream volume

Link copied to clipboard
fun getSyncDateState(): Boolean

Get sync date state

Link copied to clipboard
fun getSyncTimeState(): Boolean

Get sync time state

Link copied to clipboard
fun getUsbMode(): String

Get usb mode

Link copied to clipboard
fun getWifiBand(): Int

Get wifi band

Link copied to clipboard
fun getWifiChannels24Ghz(): String

Get wifi channels24ghz

Link copied to clipboard
fun getWifiChannels5Ghz(): String

Get wifi channels5ghz

Link copied to clipboard
fun getWifiCountry(): String

Get wifi country

Link copied to clipboard

Get wifi rssi difference

Link copied to clipboard

Get wifi rssi threshold

Link copied to clipboard
fun grantPermissions(apps: List<String>): Int

Set any permissions requested by the application to either package name or application name.

Link copied to clipboard
fun hideNavigationBar(enabled: Boolean): Int

Hide navigation bar

Link copied to clipboard
fun importKeyRemapSettings(configFile: String): Int

Import key remap settings

Link copied to clipboard
fun importScannerSettingsProfile(configPath: String, profile: String): Int

Import scanner settings

Link copied to clipboard
fun installApplications(apps: List<String>, deleteTmpFile: Boolean): Int

Install APK files from specified sources

Link copied to clipboard

Is adaptive display enable

Link copied to clipboard
fun isAdbEnabled(): Boolean

Is adb enabled

Link copied to clipboard
fun isAutoRotateEnable(): Boolean

Is auto rotate enable

Link copied to clipboard
fun isBluetoothEnabled(): Boolean

Is bluetooth enabled

Link copied to clipboard

Is bluetooth single pairing

Link copied to clipboard
fun isCameraApiEnabled(): Boolean

Is camera api enabled

Link copied to clipboard
fun isDarkThemeEnable(): Boolean

Is dark theme enable

Link copied to clipboard
fun isLocationEnabled(): Boolean

Is location enabled

Link copied to clipboard
fun isMobileDataEnabled(): Boolean

Is mobile data enabled

Link copied to clipboard
fun isNavigationBarEnabled(): Boolean

Is navigation bar enabled

Link copied to clipboard
fun isNFCEnabled(): Boolean

Is nfc enabled

Link copied to clipboard
fun isNightLightEnable(): Boolean

Is night light enable

Link copied to clipboard
fun isRemapKeyEnabled(): Boolean

Is remap key enabled

Link copied to clipboard
fun isSafeModeEnabled(): Boolean

Is safe mode enabled

Link copied to clipboard
fun isSDCardEnabled(): Boolean

Is SDCard enabled

Link copied to clipboard
fun isStatusBarEnabled(): Boolean

Is status bar enabled

Link copied to clipboard
fun isWifi80211dEnabled(): Boolean

Is wifi80211d enabled

Link copied to clipboard
fun isWifi80211rEnabled(): Boolean

Is wifi80211r enabled

Link copied to clipboard
fun isWifiEnabled(): Boolean

Is wifi enabled

Link copied to clipboard
fun isWifiPowerSave(): Boolean

Is wifi power save

Link copied to clipboard

Is wifi sleep policy enabled

Link copied to clipboard

Is wifi throttling enabled

Link copied to clipboard
fun killApplication(app: String): Int

Kill application

Link copied to clipboard
fun moveFile(oldPath: String, newPath: String): Int

Move file

Link copied to clipboard
fun pairDevice(mac: String, password: String): Int

Pairing with a Bluetooth device

Link copied to clipboard
fun queryApn(selection: String, selectionArgs: List<String>): Int

Query apn

Link copied to clipboard
fun rebootDevice(mode: String): Int

Reboot device

Link copied to clipboard
fun removeFile(path: String): Int

Remove file

Link copied to clipboard
fun removePassword(): Int

Remove password

Link copied to clipboard
fun revokePermissions(app: String, permissions: List<String>): Int

Revokes all or listed permissions for a specific application

Link copied to clipboard
fun screenBrightness(value: Int): Int

Device screen brightness level

Link copied to clipboard
fun screenSleep(mins: Float): Int

Sets the time at which the display will enter sleep mode

Link copied to clipboard
fun set24Hours(format: Int): Int

Sets the time format

Link copied to clipboard
fun setApn(name: String, apn: String, proxy: String, port: Int, user: String, server: String, password: String, mmsc: String, mcc: String, mnc: String, mmsproxy: String, mmsport: Int, authtype: Int, type: String, protocol: String, bearer: Int, roamingprotocol: String, current: Boolean): Int

Set apn

Link copied to clipboard
fun setBluetoothSinglePairing(enabled: Boolean): Int

Bluetooth single pairing

Link copied to clipboard
fun setDefaultLauncher(app: String): Int

Set default launcher

Link copied to clipboard
fun setDeviceAdmin(app: String, enabled: Boolean): Int

Set app as device administrator

Link copied to clipboard
fun setDevicePassword(password: String): Int

Set device password

Link copied to clipboard
fun setLocale(locale: String): Int

Change the current language on the device

Link copied to clipboard
fun setNTPServer(address: String): Int

Set ntp server

Link copied to clipboard
fun setOTAServer(address: String): Int

Set OS update server address

Link copied to clipboard
fun setPackageInstaller(packageName: String, enabled: Boolean): Int

Set package installer

Link copied to clipboard
fun setRingerMode(mode: Int): Int

Sets the ringing mode on the device

Link copied to clipboard
fun setSafeModeStatus(enabled: Boolean): Int

Set safe mode

Link copied to clipboard
fun setSleepScreen(): Int

Set sleep screen

Link copied to clipboard
fun setSyncDate(enabled: Boolean): Int

Set sync date

Link copied to clipboard
fun setSyncTime(enabled: Boolean): Int

Set sync time

Link copied to clipboard
fun setTime(param: Time): Int

Sets the time, time zone, and date and time synchronization over the network

Link copied to clipboard
fun setVolumeLevel(percent: Int, mode: Int): Int

Changes the volume level for the specified stream

Link copied to clipboard
fun shutdownDevice(mode: String): Int

Shutdown device

Link copied to clipboard
fun startApplication(app: String): Int

Start application

Link copied to clipboard
fun statusBarState(enabled: Boolean): Int

Lock and unlock the status bar

Link copied to clipboard
fun switchUsbMode(mode: String): Int

Switch usb mode

Link copied to clipboard
fun updateDevice(os: String): Int

Update the OS on the device from a specified location

Link copied to clipboard
fun whiteListAppsInsert(packages: List<String>): Int

Add package names to whitelist

Link copied to clipboard
fun whiteListAppsRemove(packages: List<String>): Int

Remove package names from whitelist

Link copied to clipboard
fun wipeDevice(): Int

Wipe device