78.2.0+
1. configure() Initialization Function
configure() Initialization FunctionBefore using any SDK feature, you must explicitly call the configuration method.
Required Setup:
TruvideoSdk.configure(with: options)Purpose:
Sets up user session and internal SDK configuration.
Must be invoked before any authentication or SDK module usage.
Authentication Status
The Truvideo SDK provides two properties that serve to check the authentication status:
isAuthenticated: Returns true or false indicating whether the client is authenticated. Please note that authentication may be expired.
let isAuthenticated = TruvideoSdk.isAuthenticated;How to authenticate
The authenticate method requires the following inputs:
ApiKey: A string provided by Truvideo upon registration.
Secret key: A string provided by Truvideo upon registration.
External Id : A string provided by Truvideo upon registration.
Authentication process
Sign Out
To delete the current session and erase all associated authentication data, utilize the signOut method
This command will remove all authentication data and reset the session.
Last updated
Was this helpful?