public class MpnPlatformType
extends java.lang.Object
MetadataProvider
.
Modifier and Type | Field and Description |
---|---|
static MpnPlatformType |
Apple
Refers to Push Notifications for Apple platforms, such as iOS, macOS and tvOS.
|
static MpnPlatformType |
Google
Refers to Push Notifications for Google platforms, such as Android and Chrome.
|
Constructor and Description |
---|
MpnPlatformType(java.lang.String name)
Used by Lightstreamer to create a MpnPlatformType instance.
|
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 |
getName()
Returns the internal name of the platform type.
|
int |
hashCode()
Returns a hash code value for the object.
|
java.lang.String |
toString()
Returns a string representation of the MpnPlatformType.
|
public static final MpnPlatformType Apple
public static final MpnPlatformType Google
public MpnPlatformType(java.lang.String name)
name
- A platform type name.public final java.lang.String getName()
public java.lang.String toString()
Apple
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