enum

Sleep::SignalState

Inherits Enum < Comparable < Value < Object

外部アプリから読んだ睡眠の状態。

Constants

Unknown = 0

読めていない。相手が動いていないか、まだ見つけていない。

Awake = 1

睡眠中ではない。

Asleep = 2

睡眠中である。

Instance methods

asleep?

Returns true if this enum value equals Asleep

Source
awake?

Returns true if this enum value equals Awake

Source
unknown?

Returns true if this enum value equals Unknown

Source