Class MpnPlatformType
java.lang.Object
com.lightstreamer.interfaces.metadata.MpnPlatformType
Identifies a Push Notifications platform type, used with MPN-related requests of the
It is used by Lightstreamer to specify the platform associated with the notified client requests.
The available constants refer to the platform types currently supported.
Edition Note:
Push Notifications is an optional feature, available depending on Edition and License Type. To know what features are enabled by your license, please see the License tab of the Monitoring Dashboard (by default, available at /dashboard).
MetadataProvider
.
It is used by Lightstreamer to specify the platform associated with the notified client requests.
The available constants refer to the platform types currently supported.
Edition Note:
Push Notifications is an optional feature, available depending on Edition and License Type. To know what features are enabled by your license, please see the License tab of the Monitoring Dashboard (by default, available at /dashboard).
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MpnPlatformType
Refers to Push Notifications for Apple platforms, such as iOS, macOS and tvOS.static final MpnPlatformType
Refers to Push Notifications for Google platforms, such as Android and Chrome. -
Constructor Summary
ConstructorDescriptionMpnPlatformType
(String name) Used by Lightstreamer to create an MpnPlatformType instance. -
Method Summary
-
Field Details
-
Apple
Refers to Push Notifications for Apple platforms, such as iOS, macOS and tvOS. The back-end service for Apple platforms is APNs ("Apple Push Notification service"). Apple, iOS, macOS and tvOS are registered trademarks of Apple, Inc. -
Google
Refers to Push Notifications for Google platforms, such as Android and Chrome. The back-end service for Google platforms is FCM ("Firebase Cloud Messaging"). Google, Android and Chrome are registered trademarks of Google Inc.
-
-
Constructor Details
-
MpnPlatformType
Used by Lightstreamer to create an MpnPlatformType instance.- Parameters:
name
- a platform type name
-
-
Method Details
-
getName
Returns the internal name of the platform type.- Returns:
- the platform type internal name.
-
toString
Returns a string representation of the MpnPlatformType. An MpnPlatformType object is represented by its internal name. E.g.:Apple
-
equals
Indicates whether some other object is "equal to" this one. Two MpnPlatformType objects are equal if their internal names are equal. -
hashCode
public int hashCode()Returns a hash code value for the object.
-