disconnect

public final Unit disconnect(Boolean disablePush)

Disconnects from the server.

Parameters

disablePush

Whether to stop receiving push notifications after disconnecting. Default is false (continues receiving push). Set to true to fully logout.