Package-level declarations

Types

Link copied to clipboard
@Serializable
data class CancelPromptRequest(val id: RequestId)

Request object containing input parameters for the DeviceAccessDomain.cancelPrompt command.

Link copied to clipboard
@Serializable
object CancelPromptResponse

A dummy response object for the DeviceAccessDomain.cancelPrompt command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
Link copied to clipboard
typealias DeviceId = String

A device id.

Official doc

Link copied to clipboard
@Serializable
object DisableResponse

A dummy response object for the DeviceAccessDomain.disable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
object EnableResponse

A dummy response object for the DeviceAccessDomain.enable command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.

Link copied to clipboard
@Serializable
data class PromptDevice(val id: DeviceId, val name: String)

Device information displayed in a user prompt to select a device.

Link copied to clipboard
typealias RequestId = String

Device request id.

Official doc

Link copied to clipboard
@Serializable
data class SelectPromptRequest(val id: RequestId, val deviceId: DeviceId)

Request object containing input parameters for the DeviceAccessDomain.selectPrompt command.

Link copied to clipboard
@Serializable
object SelectPromptResponse

A dummy response object for the DeviceAccessDomain.selectPrompt command. This command doesn't return any result at the moment, but this could happen in the future, or could have happened in the past. For forwards and backwards compatibility of the command method, we still declare this class even without properties.