Package-level declarations

Types

Link copied to clipboard

DevicePlatform list of the available supported platforms

Link copied to clipboard
actual class KInfoState

KInfoState provides information about the current device where the application is running. This information is related to the platform and the specific details that the platform offers.

expect class KInfoState

KInfoState provides information about the current device where the application is running. This information is related to the platform and the specific details that the platform offers.

actual class KInfoState

KInfoState provides information about the current device where the application is running. This information is related to the platform and the specific details that the platform offers.

actual class KInfoState

KInfoState provides information about the current device where the application is running. This information is related to the platform and the specific details that the platform offers.

actual class KInfoState

KInfoState provides information about the current device where the application is running. This information is related to the platform and the specific details that the platform offers.รน

Properties

Link copied to clipboard
const val UNKNOWN: String

UNKNOWN represents an "unknown" device fingerprint or hardware configuration. It is used to check for unknown or unidentified device information.

Functions

Link copied to clipboard
fun OnPlatform(    kInfoState: KInfoState = rememberKInfoState(),     onAndroid: @Composable (AndroidInfo) -> Unit? = null,     onIos: @Composable (IosInfo) -> Unit? = null,     onDesktop: @Composable (DesktopInfo) -> Unit? = null,     onWeb: @Composable (WebInfo) -> Unit? = null)

Method to display different contents based on the current platform where this method has been invoked

Link copied to clipboard
fun onPlatform(    kInfoState: KInfoState = KInfoState(),     onAndroid: (AndroidInfo) -> Unit? = null,     onIos: (IosInfo) -> Unit? = null,     onDesktop: (DesktopInfo) -> Unit? = null,     onWeb: (WebInfo) -> Unit? = null)

Method to execute different actions based on the current platform where this method has been invoked

Link copied to clipboard

Method to remember during the recomposition the current status of a KInfoState instance

Method to remember during the recomposition the current status of a KInfoState instance

Method to remember during the recomposition the current status of a KInfoState instance

Method to remember during the recomposition the current status of a KInfoState instance

Method to remember during the recomposition the current status of a KInfoState instance