public final enum

DJIHandheldPowerMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ dji.common.handheld.DJIHandheldPowerMode

Class Overview

Created by hai on 5/26/16. Handheld power mode.

Summary

Enum Values
DJIHandheldPowerMode  Awake  The Handheld Power Mode is awake. 
DJIHandheldPowerMode  PowerOff  The Handheld Power Mode is power-off. 
DJIHandheldPowerMode  Sleeping  The Handheld Power Mode is sleeping. 
DJIHandheldPowerMode  Unknown  The Handheld Power Mode is unknown  
Public Methods
boolean _equals(int b)
Returns the boolean result of comparing the specified integer value with the real value of an enum constant.
static DJIHandheldPowerMode find(int value)
Returns the enum constant of this type, the specified integer value.
int value()
Returns the real value of an enum constant.
static DJIHandheldPowerMode valueOf(String name)
final static DJIHandheldPowerMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DJIHandheldPowerMode Awake

The Handheld Power Mode is awake. For Osmo, when it is in this mode, all the components in DJIHandheld are accessible.

public static final DJIHandheldPowerMode PowerOff

The Handheld Power Mode is power-off. Once this mode is set the callback will receive this mode until the handheld device is shut down completely.

public static final DJIHandheldPowerMode Sleeping

The Handheld Power Mode is sleeping. The handheld controller keeps the WiFi connection to the Mobile device alive but most other components are off. The power consumption is low in this mode. For Osmo, when it is in this mode, only the DJIHandheldController, DJIBattery and DJIAirLink are accessible.

public static final DJIHandheldPowerMode Unknown

The Handheld Power Mode is unknown

Public Methods

public boolean _equals (int b)

Returns the boolean result of comparing the specified integer value with the real value of an enum constant.

Parameters
b The input integer value.
Returns
  • boolean The comparison result.

public static DJIHandheldPowerMode find (int value)

Returns the enum constant of this type, the specified integer value.

Parameters
value The integer value.
Returns
  • The enum constant of this type.

public int value ()

Returns the real value of an enum constant.

Returns
  • integer The real value.

public static DJIHandheldPowerMode valueOf (String name)

public static final DJIHandheldPowerMode[] values ()