This namespace provides access to Shared Device related operations.
- Since:
- Version 1.7 (API level 8)
Classes
Members
-
static, readonly currentUser :mobicontrol.sharedDevice.User
-
Currently logged in Shared Device user, or
null
if no users are currently logged in.- Since:
- Version 1.7 (API level 8)
Example
if (mobicontrol.sharedDevice.isUserLoggedIn && mobicontrol.sharedDevice.currentUser.name == "johndoe") { mobicontrol.message.createInfoDialog('Welcome John!').show(); }
-
static, readonly isUserLoggedIn :boolean
-
return
true
if a Shared Device user is currently logged in,false
otherwise.- Since:
- Version 1.7 (API level 8)