public class MpnDeviceInfo
extends java.lang.Object
MetadataProvider
.
Constructor and Description |
---|
MpnDeviceInfo(MpnPlatformType type,
java.lang.String applicationId,
java.lang.String deviceToken)
Used by Lightstreamer to provide a MpnDeviceInfo instance to the MPN-related methods.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
java.lang.String |
getApplicationId()
Returns the application ID, also known as the package name or bundle ID on some platforms.
|
java.lang.String |
getDeviceToken()
Returns the token of the device, also know as the registration ID on some platforms.
|
MpnPlatformType |
getType()
Returns the platform type of the device.
|
int |
hashCode()
Returns a hash code value for the object.
|
java.lang.String |
toString()
Returns a string representation of the MpnDeviceInfo.
|
public MpnDeviceInfo(MpnPlatformType type, java.lang.String applicationId, java.lang.String deviceToken)
type
- Platform type of the device.applicationId
- The app ID, also known as the bundle ID on some platforms.deviceToken
- The token of the device.public final MpnPlatformType getType()
public final java.lang.String getApplicationId()
public final java.lang.String getDeviceToken()
public java.lang.String toString()
Apple/com.lightstreamer.ios.stocklist/8fac[...]fe12
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object