#import <IAgoraPushManager.h>
IAgoraPushManager.h Push related management protocol class
- Author
- Hyphenate
- Version
- 3.00
- (AgoraError *) disableOfflinePushStart: |
|
(int) |
aStartHour |
end: |
|
(int) |
aEndHour |
|
|
| |
Disable Apns
Synchronization method will block the current thread
- Parameters
-
aStartHour | start time |
aEndHour | end time |
- Returns
- AgoraError error
Enable APNS
Synchronization method will block the current thread
- Returns
- AgoraError error
- (void) getPushNotificationOptionsFromServerWithCompletion: |
|
(void(^)(AgoraPushOptions *aOptions, AgoraError *aError)) |
aCompletionBlock |
|
Get Apple Push Notification Service options from the server
- Parameters
-
aCompletionBlock | The callback of completion block |
Get Apple Push Notification Service options from the server
Synchronization method will block the current thread
- Parameters
-
- Returns
- AgoraPushOptions Apple Push Notification Service options
- (AgoraError *) updatePushDisplayName: |
|
(NSString *) |
aDisplayName |
|
Set display name for Apple Push Notification message
Synchronization method will block the current thread
- Parameters
-
- Returns
- AgoraError error
Set display name for the push notification
- Parameters
-
aDisplayName | Display name of push |
aCompletionBlock | The callback block of completion |
- (AgoraError *) updatePushDisplayStyle: |
|
(AgoraPushDisplayStyle) |
pushDisplayStyle |
|
Set display style for Apple Push Notification message
Synchronization method will block the current thread
- Parameters
-
pushDisplayStyle | Display style |
- Returns
- AgoraError error
Set display style for the push notification
- Parameters
-
pushDisplayStyle | Display style of push |
aCompletionBlock | The callback block of completion |
- (AgoraError *) updatePushServiceForGroups: |
|
(NSArray *) |
aGroupIds |
disablePush: |
|
(BOOL) |
disable |
|
|
| |
Disable groups APNS
Synchronization method will block the current thread
- Parameters
-
aGroupIds | group ids |
disable | disable |
- Returns
- AgoraError error
- (void) updatePushServiceForGroups: |
|
(NSArray *) |
aGroupIds |
disablePush: |
|
(BOOL) |
disable |
completion: |
|
(nonnull void(^)(AgoraError *_Nonnull)) |
aCompletionBlock |
|
|
| |
Set display style for the push notification
- Parameters
-
aGroupIds | group ids |
disable | disable |
aCompletionBlock | The callback block of completion |
- (NSArray*) noPushGroups |
|
readnonatomicstrong |
Groups without push notifications
The documentation for this protocol was generated from the following file: