Objective-C Client Reference
Class PIONotification
Language: Objective-C
An IOS Notification. You must specify either the "alert" key or the "badgeCount" using the setWithKey method to create a valid notification object.
Properties | |||
---|---|---|---|
|
|||
|
|||
|
|||
Methods | |||
- (id) |
|
||
- (PIONotification*) |
|
@property (nonatomic) NSDictionary * data
The notification data
@property (nonatomic) NSString * endpointType
The type of notification endpoint that will receive this notification
@property (nonatomic) NSString * recipientUserId
The intended recipient (userId) of this notification
initWithRecipientUserId:endpointType:
Create a new notification intended for the specified recipient if he/she has registered a notification endpoint of the given type.
Arguments
NSString* | recipientUserId |
NSString* | endpointType |
Return Value
id | |
setWithKey:value:
Add a specific argument to the Data of this notification
Arguments
NSString* | key |
NSString* | value |
Return Value
PIONotification* | This instance after modifications made by set |