disconnect
Disconnects from the RCserver while still receiving remote notifications.
If you want to disconnect and stop receiving remote notifications, you can call logout.Note: The SDK automatically reconnects when the app switches between foreground and background or when network exceptions occur, ensuring connection reliability. Therefore, unless your app logic requires logging out, you generally do not need to call this method to manually disconnect.
Since
5.0.0
Disconnects from the RCserver and determines whether to continue receiving remote push notifications based on the parameter.
Since
5.0.0
Parameters
is Receive Push
true
to continue receiving remote push notifications after disconnection; false
to stop receiving remote push notifications after disconnection.