suspendSessionWithReason abstract method

Future<bool> suspendSessionWithReason()

Suspends the current session. This is an asynchronous operation. Parameters

reason	The reason for the suspension.

Returns YES if the operation has been started successfully, NO if there is no session currently established or if the operation could not be started.

Implementation

/// This is an asynchronous operation.

/// Parameters
///
///     reason	The reason for the suspension.

/// Returns
///     YES if the operation has been started successfully, NO if there is no session currently established or if the operation could not be started.

Future<bool> suspendSessionWithReason();