setPushReceiveStatus

public abstract void setPushReceiveStatus(boolean receiveStatus, RongIMClient.OperationCallback callback)

Sets whether to receive remote push notifications.

Prerequisite: The mobile device is offline, while Web and MAC/PC terminals are online. Determines whether the mobile device receives remote push notifications.Note: This feature requires enabling user settings from the server side.

Parameters

receiveStatus

Whether to receive remote push notifications. true to receive, false to not receive.

callback

Callback