CameraPermission

@Serializable
data class CameraPermission(val eventType: CameraPermission.EventType, val cameraPermissionGranted: Boolean? = null) : Pinglet

Constructors

Link copied to clipboard
constructor(eventType: CameraPermission.EventType, cameraPermissionGranted: Boolean? = null)

Types

Link copied to clipboard

Properties

Link copied to clipboard
@SerialName(value = "cameraPermissionGranted")
@EncodeDefault(mode = EncodeDefault.Mode.NEVER)
val cameraPermissionGranted: Boolean? = null
Link copied to clipboard
@SerialName(value = "eventType")
val eventType: CameraPermission.EventType
Link copied to clipboard
open override val schemaName: String

Unique identifier for the Pinglet schema type.

Link copied to clipboard
open override val schemaVersion: String

Version identifier for the Pinglet schema.