PolarDeviceToHostNotification

public enum PolarDeviceToHostNotification : Int

Undocumented

  • Declaration

    Swift

    public typealias RawValue = Int
  • (Not used currently for anything. Reserved for future use.)

    Declaration

    Swift

    case filesystemModified
  • Used to inform host about internal test data.

    Declaration

    Swift

    case internalTestEvent
  • Used to inform host when the device is ready to communicate again after reporting WAIT_FOR_IDLING error.

    Declaration

    Swift

    case idling
  • Used to inform host about device’s battery status.

    Declaration

    Swift

    case batteryStatus
  • Used to inform host about user’s inactivity.

    Declaration

    Swift

    case inactivityAlert
  • Used to inform host about training session status.

    Declaration

    Swift

    case trainingSessionStatus
  • Used by device to request host to sync. This happens for example when user presses “Sync” button in the device.

    Declaration

    Swift

    case syncRequired
  • Used by device to inform result of START_AUTOSYNC synchronization.

    Declaration

    Swift

    case autosyncStatus
  • Used to send responses to Polar Notification Service notifications.

    Declaration

    Swift

    case pnsDhNotificationResponse
  • Used for Polar Notification Service settings

    Declaration

    Swift

    case pnsSettings
  • Used to request mobile device to start GPS measurement. Parameter PbPftpStartGPSMeasurement

    Declaration

    Swift

    case startGpsMeasurement
  • Used to request mobile device to stop GPS measurement. No parameters

    Declaration

    Swift

    case stopGpsMeasurement
  • Used to keep mobile running in background. No parameters

    Declaration

    Swift

    case keepBackgroundAlive
  • Polar shell is to transfer any test related data from device to host

    Declaration

    Swift

    case polarShellDhData
  • Request information from media player

    Declaration

    Swift

    case mediaControlRequestDh
  • Send command for media player

    Declaration

    Swift

    case mediaControlCommandDh
  • Used for informing host when device wants to receive media control data

    Declaration

    Swift

    case mediaControlEnabled
  • Generic REST API event

    Declaration

    Swift

    case restApiEvent
  • Used to inform host about exercise status

    Declaration

    Swift

    case exerciseStatus
  • Declaration

    Swift

    public init?(rawValue: Int)
  • Declaration

    Swift

    public var rawValue: Int { get }