Description
LckCore provides the foundation for all other LCK features by handling:- Initialization — sets up the SDK at game startup with tracking ID and game metadata.
- Authentication — manages login attempts and verifies whether login has completed.
- User status — checks if the user has configured streaming or has an active subscription.
- Diagnostics — controls the SDK’s internal log verbosity.
- Shutdown — disposes resources cleanly when the application exits.
For custom streaming flows, use
LckStreamingController.
Usage
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. |