BMXPushServiceProtocol Protocol Reference

Conforms to NSObject
Declared in BMXPushServiceProtocol.h

Instance Methods

certRetrieved:

Push初始化完成后获取推送证书。

- (void)certRetrieved:(NSString *)*certification*

Parameters

certification
推送证书

Discussion

Push初始化完成后获取推送证书。

Declared In

  • BMXPushServiceProtocol.h

Example:

- (void)certRetrieved:(NSString *)certification {
    MAXLog(@"%@", certification);  // 如果SDKconfig已配置证书,就不会执行该回调
}

clearedTags:

清空用户推送成功回调。

- (void)clearedTags:(NSString *)*operationId*

Parameters

operationId
操作id

Discussion

清空用户推送成功回调。

Declared In

  • BMXPushServiceProtocol.h

Example:

- (void)clearedTags:(NSString *)operationId {
    MAXLog(@"%@", operationId);
}

deleteTagsDidFinished:

删除用户推送标签成功回调

- (void)deleteTagsDidFinished:(NSString *)*operationId*

Parameters

operationId
操作id

Discussion

删除用户推送标签成功回调

Declared In

  • BMXPushServiceProtocol.h

Example:

- (void)deleteTagsDidFinished:(NSString *)operationId {
    MAXLog(@"%@", operationId);
}

getTagsDidFinished:

获取用户推送标签成功回调。

- (void)getTagsDidFinished:(NSString *)*operationId*

Parameters

operationId
操作id

Discussion

获取用户推送标签成功回调。

Declared In

  • BMXPushServiceProtocol.h

Example:

- (void)getTagsDidFinished:(NSString *)operationId {
    MAXLog(@"%@", operationId);
}

pushMessageStatusChanged:error:

发送Push上行消息状态变化通知。

- (void)pushMessageStatusChanged:(BMXMessageObject *)*message* error:(BMXError *)*error*

Parameters

message
发生状态变化的上行消息

error
状态错误码

Discussion

发送Push上行消息状态变化通知。

Declared In

  • BMXPushServiceProtocol.h

Example:

- (void)pushMessageStatusChanged:(BMXMessageObject *)message error:(BMXError *)error {
    MAXLog(@"%@", message.content);
}

pushStartDidFinished:

Push初始化完成通知。

- (void)pushStartDidFinished:(NSString *)*bmxToken*

Parameters

bmxToken
bmxToken

Discussion

Push初始化完成通知。

Declared In

  • BMXPushServiceProtocol.h

Example:

- (void)pushStartDidFinished:(NSString *)bmxToken {
    MAXLog(@"%@", bmxToken);

}

pushStartDidStopped

Push功能停止通知。

- (void)pushStartDidStopped

Discussion

Push功能停止通知。

Declared In

  • BMXPushServiceProtocol.h

Example:

receivedPush:

接收到新的Push通知

- (void)receivedPush:(NSArray<BMXMessageObject*> *)*messages*

Parameters

messages
Push通知列表

Discussion

接收到新的Push通知

Declared In

  • BMXPushServiceProtocol.h

Example:

- (void)receivedPush:(NSArray<BMXMessageObject *> *)messages {

}

setTagsDidFinished:

设置用户推送标签成功回调。

- (void)setTagsDidFinished:(NSString *)*operationId*

Parameters

operationId
操作id

Discussion

设置用户推送标签成功回调。

Declared In

  • BMXPushServiceProtocol.h

Example:

- (void)setTagsDidFinished:(NSString *)operationId {
    MAXLog(@"%@", operationId);
}

© 2019-2022 美信拓扑 | 官网 该文件修订时间: 2022-09-21 11:43:07

results matching ""

    No results matching ""