Class PowerStateWaitEventArgs

Definition

Namespace:
Tizen.System
Assembly:
Tizen.System.dll
API Level:
10

PowerStateWaitEventArgs is an extended EventArgs class. This class contains event arguments for the (PowerState)StateWaitCallback event from the Power class.

C#
Copy
public class PowerStateWaitEventArgs : EventArgs
Inheritance
System.Object
PowerStateWaitEventArgs

Properties

View Source

NextState

NextState indicates power state to be changed by transition

Declaration
C#
Copy
public PowerState NextState { get; }
Property Value
Type Description
Tizen.System.PowerState
View Source

PrevState

PrevState indicates reason power state where transition has started

Declaration
C#
Copy
public PowerState PrevState { get; }
Property Value
Type Description
Tizen.System.PowerState
View Source

TransitionReason

TransitionReason indicates reason for what triggered the transition

Declaration
C#
Copy
public PowerTransitionReason TransitionReason { get; }
Property Value
Type Description
Tizen.System.PowerTransitionReason
View Source

WaitCallbackId

WaitCallbackId indicates unique id for each callback invocation. It is used to confirm or cancel about subscribed callback.

Declaration
C#
Copy
public ulong WaitCallbackId { get; }
Property Value
Type Description
System.UInt64