Platform

actual object Platform
expect object Platform

Object for selecting platform specific functionality.

actual object Platform
actual object Platform

Properties

Link copied to clipboard
actual val name: String
expect val name: String

The name and version of the platform.

actual val name: String
actual val name: String
Link copied to clipboard

A Storage instance suitable for the platform in a location where the underlying data file is excluded from backups.

Link copied to clipboard

A PromptModel implementation suitable for the platform.

Link copied to clipboard
actual val storage: Storage
expect val storage: Storage

A Storage instance suitable for the platform.

actual val storage: Storage
actual val storage: Storage

Functions

Link copied to clipboard
actual suspend fun getSecureArea(): SecureArea
expect suspend fun getSecureArea(): SecureArea

Gets a SecureArea implementation suitable for the platform.

actual suspend fun getSecureArea(): SecureArea
actual suspend fun getSecureArea(): SecureArea