Android Agent JavaScript
v1.7
API
Tutorials
Tutorials
Common Text Data Formats
Error Handling
JavaScript Modules
JSON Serialization
Release Notes
Advanced ECMA Feature Support
Namespaces
mobicontrol
Members
apiLevel
apiVersion
mobicontrol.agent
Members
ConnectionStatusCode
Mode
packageName
version
versionCode
Methods
checkIn
connect
disconnect
enterAdminMode
enterUserMode
getCustomAttribute
getMode
isAdminMode
isUserMode
restart
sendDebugReport
Typedef
connectCallback
mobicontrol.apn
Members
ApnStatusCode
MvnoType
Methods
createApnConfiguration
getPreferred
install
listApns
listCurrentOperatorApns
setPreferred
uninstall
mobicontrol.app
Members
AdminDeactivationStatusCode
AppStatusCode
ClearDataStatusCode
foregroundActivities
InstallationStatusCode
installedApps
Methods
clearCache
clearData
deactivateAdmin
getInstalledApp
install
start
stop
Typedef
Activity
installCallback
mobicontrol.audio
Members
alarmVolume
musicVolume
notificationVolume
ringVolume
SetVolumeStatusCode
voiceCallVolume
Methods
setAlarmVolume
setMusicVolume
setNotificationVolume
setRingVolume
setVoiceCallVolume
mobicontrol.battery
Members
isCharging
level
temperature
voltage
mobicontrol.cellular
Members
carrier
imei
isRoaming
meid
phoneNumber
signalStrength
signalStrengthInAsu
simSerialNumber
subscriberId
subscriptions
Methods
getImei
mobicontrol.cert
mobicontrol.device
Members
id
InjectKeyStatusCode
isAirplaneMode
macAddress
manufacturer
model
name
serialNumber
Methods
factoryReset
factoryResetWithProtectionData
getSystemProperty
injectKey
lock
reboot
renameTo
wipeWorkProfile
mobicontrol.featureControl
Members
Setting
mobicontrol.featureControl.camera
Methods
allow
disable
getSetting
isAllowed
isDisabled
mobicontrol.intl
Members
locale
SetLocaleStatusCode
Methods
setLocale
mobicontrol.io
Members
IoStatusCode
mobicontrol.json
Methods
revive
mobicontrol.lockdown
Members
isEnabled
Methods
disable
enable
mobicontrol.log
Methods
error
info
warn
mobicontrol.mdm
Members
ConfigurationStatusCode
Methods
configure
mobicontrol.memory
Members
availableSpace
totalSpace
mobicontrol.message
Methods
createErrorDialog
createInfoDialog
createOkCancelDialog
createTextPromptDialog
createWarnDialog
createYesNoDialog
dismiss
mobicontrol.network
Members
activeNetwork
allNetworks
ssid
mobicontrol.os
Members
apiLevel
buildNumber
SystemUpdateErrorStatusCode
version
Methods
installSystemUpdate
mobicontrol.packages
Members
InstallationStatusCode
Termination
Methods
install
Typedef
installCallback
mobicontrol.sharedDevice
Members
currentUser
isUserLoggedIn
mobicontrol.storage
mobicontrol.storage.external
Members
dataDirectory
documentsDirectory
downloadsDirectory
rootDirectory
mobicontrol.storage.internal
Members
availableSpace
dataDirectory
totalSpace
mobicontrol.wifi
Members
AccessPointState
WifiStatusCode
Methods
clearBlacklist
createWifiConfiguration
disable
enable
install
listAccessPoints
setBlacklist
uninstall
Global
clearTimeout
setTimeout
setTimeoutCallback
Classes
mobicontrol.apn.Apn
Members
apn
apnType
mcc
mnc
mvnoType
mvnoValue
name
Methods
toJSON
mobicontrol.apn.ApnConfiguration
Members
apn
apnType
mcc
mnc
mvnoType
mvnoValue
name
Methods
toJSON
withApnType
withMvno
withName
mobicontrol.apn.ApnError
Members
fileName
lineNumber
message
name
stack
statusCode
mobicontrol.app.AdminDeactivationError
Members
fileName
lineNumber
message
name
stack
statusCode
mobicontrol.app.App
Members
packageName
versionCode
versionName
mobicontrol.app.AppClearDataError
Members
fileName
lineNumber
message
name
stack
statusCode
mobicontrol.app.AppError
Members
fileName
lineNumber
message
name
stack
statusCode
mobicontrol.audio.SetVolumeError
Members
fileName
lineNumber
message
name
stack
statusCode
mobicontrol.cellular.Subscription
Members
carrier
mcc
mnc
phoneNumber
signalStrength
simSerialNumber
slotIndex
subscriberId
mobicontrol.cert.Certificate
Members
expiryDate
serialNumber
mobicontrol.device.InjectKeyError
Members
fileName
lineNumber
message
name
stack
statusCode
mobicontrol.Error
Members
fileName
lineNumber
message
name
stack
mobicontrol.intl.Locale
Members
country
language
variant
mobicontrol.intl.SetLocaleError
Members
fileName
lineNumber
message
name
stack
statusCode
mobicontrol.io.File
Members
exists
isDirectory
isNormalFile
isReadable
isWritable
lastModified
path
size
Methods
contentEquals
copyTo
createDirectory
createFile
delete
listFiles
readText
renameTo
writeText
mobicontrol.io.IoError
Members
fileName
lineNumber
message
name
stack
statusCode
mobicontrol.mdm.MdmConfigurationError
Members
fileName
lineNumber
message
name
stack
statusCode
mobicontrol.message.ConfirmationDialog
Methods
show
withButtons
withCallback
withErrorIcon
withInfoIcon
withNotification
withQuestionIcon
withTimer
withTitle
withWarnIcon
Typedef
ConfirmationDialogCallback
mobicontrol.message.TextPromptDialog
Methods
show
withButtons
withCallback
withDefaultText
withErrorIcon
withInfoIcon
withNotification
withQuestionIcon
withTimer
withTitle
withWarnIcon
Typedef
ConfirmationDialogCallback
mobicontrol.network.IpAddress
Members
hostAddress
hostName
isIpv4
isIpv6
isLinkLocalAddress
isLoopback
mobicontrol.network.Network
Members
downstreamBandwidthKbps
hasBluetoothTransport
hasCellularTransport
hasEthernetTransport
hasLoWpanTransport
hasVpnTransport
hasWiFiAwareTransport
hasWiFiTransport
ipAddresses
isMetered
signalStrength
upstreamBandwidthKbps
mobicontrol.os.SystemUpdateError
Members
fileName
lineNumber
message
name
stack
statusCode
mobicontrol.sharedDevice.User
Members
name
mobicontrol.wifi.AccessPoint
Members
caCertificates
clientCertificate
hasEapSecurity
hasProxy
hasWepSecurity
hasWpaSecurity
proxyExclusionList
proxyHost
proxyPacUrl
proxyPort
ssid
state
mobicontrol.wifi.WifiConfiguration
Members
hasProxy
hasWepSecurity
hasWpaSecurity
password
proxyExclusionList
proxyHost
proxyPacUrl
proxyPort
ssid
Methods
toJSON
withPacProxy
withProxy
withWepSecurity
withWpaSecurity
mobicontrol.wifi.WifiError
Members
fileName
lineNumber
message
name
stack
statusCode
Advanced ECMA Feature Support
Result
JS
HTML