getSessionInfo

Get SessionInfo for a given query. See SessionInfoQuery.

This is a protected operation, so the SDK must be unlocked before calling this method.

Return

SessionInfo

Parameters

query

a matcher for the desired session.

Throws

if the SDK is locked.

if the SDK is currently blocked by an operation updating DB accounts

if there is no account enrolled for the provided user ids.

if the accounts contain sessions with encrypted extraInfo and the SDK is unable to decrypt them

if the SDK is unable to retrieve the SDK pin from encrypted storage.

if the SDK cannot access necessary cryptographic material or perform cryptographic operations

if the API request fails. Refer to FTApiException subtypes for more specific errors.