PlatformContext

actual class PlatformContext

Android platform context that provides access to Android-specific context and activity.

expect class PlatformContext

Represents a platform-specific context, providing access to platform-dependent resources and functionality.

This class is expected to be implemented separately for each platform where platform-specific dependencies and behavior can be injected.

Constructors

Link copied to clipboard
constructor(context: Context, activity: Activity? = null)
actual constructor()
expect constructor()

Properties

Link copied to clipboard

Optional Activity reference needed for passkey operations

Link copied to clipboard
lateinit var context: Context

The Android application or activity context