get_restore_token


Description:

public string? get_restore_token ()

Retrieves the restore token of this.

A restore token will only be available if `XDP_PERSIST_MODE_TRANSIENT` or `XDP_PERSIST_MODE_PERSISTENT` was passed when creating the screencast session.

Remote desktop sessions cannot be restored.

May only be called after this is successfully started, i.e. after [method@Session.start_finish].

Parameters:

this

a [class@Session]

Returns:

the restore token of this