Objective-C Client Reference
Class PIONotifications
Language: Objective-C
The Player.IO Notifications service.
Properties | |||
---|---|---|---|
|
|||
Methods | |||
- (void) |
|
||
- (void) |
|
||
- (void) |
|
||
- (void) |
|
||
- (void) |
|
||
- (void) |
|
||
- (void) |
|
||
- (void) |
|
||
- (void) |
|
||
- (void) |
|
@property (nonatomic) NSArray * myEndpoints
The list of notification endpoints registered for the current client.
deleteEndpoints:successBlock:
Deletes the given endpoints
Arguments
NSArray* | endpoints |
void(^)() | successBlock |
deleteEndpoints:successBlock:errorBlock:
Deletes the given endpoints
Arguments
NSArray* | endpoints |
void(^)() | successBlock |
void(^)(PIOError*) | errorBlock |
refreshWithSuccessBlock:
Refreshes myEndpoints synchronously Refreshes myEndpoints asynchronously
Arguments
void(^)() | successBlock |
refreshWithSuccessBlock:errorBlock:
Refreshes myEndpoints asynchronously
Arguments
void(^)() | successBlock |
void(^)(PIOError*) | errorBlock |
registerEndpointWithEndpointType:identifier:configuration:enabled:successBlock:
Register a device or endpoint with Player.IO synchronously.
Arguments
NSString* | endpointType |
NSString* | identifier |
NSDictionary* | configuration |
BOOL | enabled |
void(^)() | successBlock |
registerEndpointWithEndpointType:identifier:configuration:enabled:successBlock:errorBlock:
Register a device or endpoint with Player.IO synchronously.
Arguments
NSString* | endpointType |
NSString* | identifier |
NSDictionary* | configuration |
BOOL | enabled |
void(^)() | successBlock |
void(^)(PIOError*) | errorBlock |
sendNotifications:successBlock:
Send one or more notifications
Arguments
NSArray* | notifications |
void(^)() | successBlock |
sendNotifications:successBlock:errorBlock:
Send one or more notifications
Arguments
NSArray* | notifications |
void(^)() | successBlock |
void(^)(PIOError*) | errorBlock |
toggleEndpoints:enabled:successBlock:
Enables or disabled the given endpoints.
Arguments
NSArray* | endpoints |
BOOL | enabled |
void(^)() | successBlock |
toggleEndpoints:enabled:successBlock:errorBlock:
Enables or disabled the given endpoints.
Arguments
NSArray* | endpoints |
BOOL | enabled |
void(^)() | successBlock |
void(^)(PIOError*) | errorBlock |