MpnDevice class

Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

MpnDevice(String token, String appId, String platform)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(MpnDeviceListener listener) → void

Available on MpnDevice, provided by the MpnDeviceExt extension

getApplicationId() String

Available on MpnDevice, provided by the MpnDeviceExt extension

getDeviceId() String?

Available on MpnDevice, provided by the MpnDeviceExt extension

getDeviceToken() String

Available on MpnDevice, provided by the MpnDeviceExt extension

getListeners() List<MpnDeviceListener>

Available on MpnDevice, provided by the MpnDeviceExt extension

getPlatform() String

Available on MpnDevice, provided by the MpnDeviceExt extension

getPreviousDeviceToken() String?

Available on MpnDevice, provided by the MpnDeviceExt extension

getStatus() String

Available on MpnDevice, provided by the MpnDeviceExt extension

getStatusTimestamp() int

Available on MpnDevice, provided by the MpnDeviceExt extension

isRegistered() bool

Available on MpnDevice, provided by the MpnDeviceExt extension

isSuspended() bool

Available on MpnDevice, provided by the MpnDeviceExt extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeListener(MpnDeviceListener listener) → void

Available on MpnDevice, provided by the MpnDeviceExt extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited