Google is committed to advancing racial equity for Black communities. See how.

SystemState

class SystemState
kotlin.Any
   ↳ androidx.wear.watchface.client.SystemState

Describes the system state of the watch face.

Summary

Public constructors
<init>(inAmbientMode: Boolean, interruptionFilter: Int)

Describes the system state of the watch face.

Properties
Boolean

Whether the device is is ambient mode or not.

Int

The current user interruption settings.

Public constructors

<init>

SystemState(
    inAmbientMode: Boolean,
    interruptionFilter: Int)

Describes the system state of the watch face.

Properties

inAmbientMode

val inAmbientMode: Boolean

Whether the device is is ambient mode or not.

interruptionFilter

val interruptionFilter: Int

The current user interruption settings.