OnyxSdk

object OnyxSdk(source)

Process-wide entry point for SDK bootstrap, capability discovery, and diagnostics.

Properties

Link copied to clipboard

Process-local firmware diagnostic stream and bounded history.

Functions

Link copied to clipboard
suspend fun capabilities(surfaceView: SurfaceView? = null, probeMode: CapabilityProbeMode = CapabilityProbeMode.PASSIVE): Result<OnyxDeviceCapabilities>

Discovers the capabilities of the current device and optional surfaceView.

Link copied to clipboard
fun initialize(application: Application, options: OnyxInitializationOptions = OnyxInitializationOptions()): Result<OnyxInitializationReceipt>

Idempotent, explicit SDK bootstrap. KTX itself needs no eager initialization; callers opt in to legacy base services only when they use APIs that depend on ResManager or RxBaseAction.

Link copied to clipboard

Installs the optional provider once, before the first capability probe.