# restore

fun restore(context: Context): Completable

Restores a previously suspended session.

This function attempts to restore the session by reconnecting if the device is online. If the session cannot be restored in the current context, it completes immediately.

#### Return

A Completable that completes when the session is successfully restored. It may emit an error if the restoration fails.

#### Parameters

context

The application context.