public static final enum

DJIMedia.MediaType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ dji.sdk.Camera.DJIMedia.MediaType

Class Overview

Media types.

Summary

Enum Values
DJIMedia.MediaType  DNG  Image of DNG format. 
DJIMedia.MediaType  JPG  Image of JPEG format. 
DJIMedia.MediaType  M4V  M4V. 
DJIMedia.MediaType  MOV  Video of MOV format. 
DJIMedia.MediaType  MP4  Video of MP4 format. 
DJIMedia.MediaType  Panorama  PANORAMA file type. 
DJIMedia.MediaType  TIF  Tiff file type. 
DJIMedia.MediaType  UNDEFINED  Unknown file type. 
Public Methods
boolean _equals(int b)
Returns the boolean result which compare the input integer value with the real value of a enum constant.
static DJIMedia.MediaType find(int value)
Returns the enum constant of this type with the input integer value.
int value()
Returns the real value of a enum constant.
static DJIMedia.MediaType valueOf(String name)
final static MediaType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DJIMedia.MediaType DNG

Image of DNG format.

public static final DJIMedia.MediaType JPG

Image of JPEG format.

public static final DJIMedia.MediaType M4V

M4V.

public static final DJIMedia.MediaType MOV

Video of MOV format.

public static final DJIMedia.MediaType MP4

Video of MP4 format.

public static final DJIMedia.MediaType Panorama

PANORAMA file type.

public static final DJIMedia.MediaType TIF

Tiff file type.

public static final DJIMedia.MediaType UNDEFINED

Unknown file type.

Public Methods

public boolean _equals (int b)

Returns the boolean result which compare the input integer value with the real value of a enum constant.

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

public static DJIMedia.MediaType find (int value)

Returns the enum constant of this type with the input integer value.

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

public int value ()

Returns the real value of a enum constant.

Returns
  • integer The real value

public static DJIMedia.MediaType valueOf (String name)

public static final MediaType[] values ()