Class: Device

Mobizen.Device

new Mobizen.Device(mobizen)

Mobizen/Device API Provider

Name Type Description
mobizen Mobizen.<modeName>

parent object

Requires

Classes

FullScreen
InputText
Screen
Skin
Whiteboard

Members

$device jQueryObject

Link to 'device' property of Mobizen#$

$rswp jQueryObject

Link to 'rswp' property of Mobizen#$

$widget jQueryObject

callState number

hidden boolean

Type Definitions

Methods

act(name){boolean}

Name Type Description
name string

method name

Returns:
Type Description
boolean on/off status

activate(active){boolean}

Name Type Description
active boolean

on/off state

Returns:
Type Description
boolean on/off state

off(){boolean}

Returns:
Type Description
boolean on/off status

on(){boolean}

Returns:
Type Description
boolean on/off status

pause()

popdown()

Listens to Events:

power(state)

Name Type Description
state boolean

on/off state

record(data)

Name Type Description
data object

record result

Listens to Events:

resume()

rotate(rotate)

Name Type Description
rotate number optional

degree numger

state(started)

Name Type Description
started boolean

on/off state

uncaptured()

uncontrolled()

unrecorded()

unsupported(err)

Name Type Description
err Error

error

update()

comments powered by Disqus