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