ApplePush-0.1: Library for Apple Push Notification ServiceContentsIndex
ApplePush.Types
Description
Types for the Apple Push Service
Synopsis
type DeviceToken = ByteString
data NotificationServiceMsg
= NotificationServiceSend DeviceToken String
| NotificationServiceExit
type NotificationServiceChan = Chan NotificationServiceMsg
data NotificationCallbackMsg
= NotificationServerConnected NotificationServiceChan
| NotificationServerUnableToConnect String
| NotificationServerDisconnected
type NotificationCallbackChan = Chan NotificationCallbackMsg
type NotificationPayload = JSObject JSValue
type NotificationAction = JSObject JSValue
Documentation
type DeviceToken = ByteString
Device Token
data NotificationServiceMsg
These messages are sent to the Apple Push Notification Service
Constructors
NotificationServiceSend DeviceToken String
NotificationServiceExit
type NotificationServiceChan = Chan NotificationServiceMsg
data NotificationCallbackMsg
Callback messages from the Apple Push Notification Service
Constructors
NotificationServerConnected NotificationServiceChan
NotificationServerUnableToConnect String
NotificationServerDisconnected
type NotificationCallbackChan = Chan NotificationCallbackMsg
type NotificationPayload = JSObject JSValue
Notification payload is a JSON Object
type NotificationAction = JSObject JSValue
Notification actions
Produced by Haddock version 2.3.0