Description
LckCore is the entry point for setting up the LIV Camera Kit before any recording or streaming can happen. It handles SDK initialization with your tracking ID, manages user authentication via LIV Hub, and lets you check whether users have configured streaming or hold an active subscription.
This class should always be used as provided; re-implementing it is not recommended. For custom streaming flows, use LckStreamingController.
Usage
UseLckCore at game startup to initialize the SDK, and during the streaming setup flow to authenticate users and verify their configuration.
Initialization
Authentication Flow
Checking User Status
Cleanup
References
Methods
| Method | Returns | Description |
|---|---|---|
SetMaxLogLevel(LevelFilter) | void | Sets the maximum log verbosity. |
Initialize(string, GameInfo) | Result<bool> | Initializes the SDK with tracking ID and game info. |
| HasUserConfiguredStreaming() | Task<Result<bool>> | Checks if the user has configured streaming. |
| IsUserSubscribed() | Task<Result<bool>> | Checks if the user has an active subscription. |
| StartLoginAttemptAsync() | Task<Result<string>> | Starts a login attempt, returns a login code if successful. |
| CheckLoginCompletedAsync() | Task<Result<bool>> | Polls whether the login attempt has completed. |
| Dispose() | void | Releases resources and cleans up the SDK. |
See Also
- Result<T> — Generic result type returned by all LckCore methods
- GameInfo — Struct passed to Initialize with game metadata
- LevelFilter — Log verbosity levels for SetMaxLogLevel
- LckStreamingController — Higher-level streaming workflow built on LckCore