Package com.polar.sdk.api
Class PolarD2HNotificationData
-
- All Implemented Interfaces:
public final class PolarD2HNotificationDataData class representing a received device-to-host notification.
-
-
Field Summary
Fields Modifier and Type Field Description private final PolarDeviceToHostNotificationnotificationTypeprivate final ByteArrayparametersprivate final ObjectparsedParameters
-
Constructor Summary
Constructors Constructor Description PolarD2HNotificationData(PolarDeviceToHostNotification notificationType, ByteArray parameters, Object parsedParameters)
-
Method Summary
Modifier and Type Method Description final PolarDeviceToHostNotificationgetNotificationType()The type of notification final ByteArraygetParameters()Raw parameter data as ByteArray final ObjectgetParsedParameters()Optional parsed parameter object (if parsing was successful) Booleanequals(Object other)IntegerhashCode()-
-
Constructor Detail
-
PolarD2HNotificationData
PolarD2HNotificationData(PolarDeviceToHostNotification notificationType, ByteArray parameters, Object parsedParameters)
-
-
Method Detail
-
getNotificationType
final PolarDeviceToHostNotification getNotificationType()
The type of notification
-
getParameters
final ByteArray getParameters()
Raw parameter data as ByteArray
-
getParsedParameters
final Object getParsedParameters()
Optional parsed parameter object (if parsing was successful)
-
-
-
-