Zimlet JavaScript API Reference - ZmMobileDevice

Class ZmMobileDevice


This class represents mobile device.

Defined in: ZmMobileDevice.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ZmMobileDevice(params)
Creates an empty mobile device object.
Field Summary
Field Attributes Field Name and Description
<static>  
ZmMobileDevice.STATUS_NEED_PROVISION
Defines the "need provision" status.
<static>  
ZmMobileDevice.STATUS_OK
Defines the "OK" status.
<static>  
Defines the "remote wipe complete" status.
<static>  
Defines the "remote wipe requested" status.
<static>  
ZmMobileDevice.STATUS_SUSPENDED
Defines the "suspended" status.
<static>  
ZmMobileDevice.TYPE_OAUTH
Defines the "OAuth Consumer App" status.
Method Summary
Method Attributes Method Name and Description
 
Gets the first request received time as a string.
 
Gets the last policy update time as a string.
 
Gets the remote wipe acknowledged time as a string.
 
Gets the remote wipe requested time as a string.
 
Gets the status.
 
Gets the status string.
Class Detail
ZmMobileDevice(params)
Creates an empty mobile device object.
Author: Parag Shah.
Parameters:
{Hash} params
a hash of parameters
{Date} params.lastPolicyUpdate
the last policy update time
{Date} params.firstReqReceived
the first request received time
{Date} params.remoteWipeAckTime
the remote wipe acknowledged time
{Date} params.remoteWipeReqTime
the remote wipe requested time
{constant} params.status
the status (see ZmMobileDevice.STATUS_)
Field Detail
<static> ZmMobileDevice.STATUS_NEED_PROVISION
Defines the "need provision" status.

<static> ZmMobileDevice.STATUS_OK
Defines the "OK" status.

<static> ZmMobileDevice.STATUS_REMOTE_WIPE_COMPLETE
Defines the "remote wipe complete" status.

<static> ZmMobileDevice.STATUS_REMOTE_WIPE_REQUESTED
Defines the "remote wipe requested" status.

<static> ZmMobileDevice.STATUS_SUSPENDED
Defines the "suspended" status.

<static> ZmMobileDevice.TYPE_OAUTH
Defines the "OAuth Consumer App" status.
Method Detail
{String} getFirstReqReceivedString()
Gets the first request received time as a string.
Returns:
{String} the first request received string

{String} getLastPolicyUpdateString()
Gets the last policy update time as a string.
Returns:
{String} the last policy update string

{String} getRemoteWipeAckTimeString()
Gets the remote wipe acknowledged time as a string.
Returns:
{String} the remote wipe acknowledged string

{String} getRemoteWipeReqTimeString()
Gets the remote wipe requested time as a string.
Returns:
{String} the remote wipe requested string

{constant} getStatus()
Gets the status.
Returns:
{constant} the status (see ZmMobileDevice.STATUS_ constants)

{String} getStatusString()
Gets the status string.
Returns:
{String} the status string

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:37 GMT-0400 (EDT)