android.media
Class CamcorderProfile

java.lang.Object
  extended by android.media.CamcorderProfile

public class CamcorderProfile
extends Object


Field Summary
 int audioBitRate
           
 int audioChannels
           
 int audioCodec
           
 int audioSampleRate
           
 int duration
           
 int fileFormat
           
 int quality
           
static int QUALITY_1080P
           
static int QUALITY_480P
           
static int QUALITY_720P
           
static int QUALITY_CIF
           
static int QUALITY_HIGH
           
static int QUALITY_LOW
           
static int QUALITY_QCIF
           
static int QUALITY_TIME_LAPSE_1080P
           
static int QUALITY_TIME_LAPSE_480P
           
static int QUALITY_TIME_LAPSE_720P
           
static int QUALITY_TIME_LAPSE_CIF
           
static int QUALITY_TIME_LAPSE_HIGH
           
static int QUALITY_TIME_LAPSE_LOW
           
static int QUALITY_TIME_LAPSE_QCIF
           
 int videoBitRate
           
 int videoCodec
           
 int videoFrameHeight
           
 int videoFrameRate
           
 int videoFrameWidth
           
 
Method Summary
static CamcorderProfile get(int quality)
           
static CamcorderProfile get(int cameraId, int quality)
           
static boolean hasProfile(int quality)
           
static boolean hasProfile(int cameraId, int quality)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

QUALITY_LOW

public static final int QUALITY_LOW
See Also:
Constant Field Values

QUALITY_HIGH

public static final int QUALITY_HIGH
See Also:
Constant Field Values

QUALITY_QCIF

public static final int QUALITY_QCIF
See Also:
Constant Field Values

QUALITY_CIF

public static final int QUALITY_CIF
See Also:
Constant Field Values

QUALITY_480P

public static final int QUALITY_480P
See Also:
Constant Field Values

QUALITY_720P

public static final int QUALITY_720P
See Also:
Constant Field Values

QUALITY_1080P

public static final int QUALITY_1080P
See Also:
Constant Field Values

QUALITY_TIME_LAPSE_LOW

public static final int QUALITY_TIME_LAPSE_LOW
See Also:
Constant Field Values

QUALITY_TIME_LAPSE_HIGH

public static final int QUALITY_TIME_LAPSE_HIGH
See Also:
Constant Field Values

QUALITY_TIME_LAPSE_QCIF

public static final int QUALITY_TIME_LAPSE_QCIF
See Also:
Constant Field Values

QUALITY_TIME_LAPSE_CIF

public static final int QUALITY_TIME_LAPSE_CIF
See Also:
Constant Field Values

QUALITY_TIME_LAPSE_480P

public static final int QUALITY_TIME_LAPSE_480P
See Also:
Constant Field Values

QUALITY_TIME_LAPSE_720P

public static final int QUALITY_TIME_LAPSE_720P
See Also:
Constant Field Values

QUALITY_TIME_LAPSE_1080P

public static final int QUALITY_TIME_LAPSE_1080P
See Also:
Constant Field Values

duration

public int duration

quality

public int quality

fileFormat

public int fileFormat

videoCodec

public int videoCodec

videoBitRate

public int videoBitRate

videoFrameRate

public int videoFrameRate

videoFrameWidth

public int videoFrameWidth

videoFrameHeight

public int videoFrameHeight

audioCodec

public int audioCodec

audioBitRate

public int audioBitRate

audioSampleRate

public int audioSampleRate

audioChannels

public int audioChannels
Method Detail

get

public static CamcorderProfile get(int quality)

get

public static CamcorderProfile get(int cameraId,
                                   int quality)

hasProfile

public static boolean hasProfile(int quality)

hasProfile

public static boolean hasProfile(int cameraId,
                                 int quality)


Copyright © 2008-2012. All Rights Reserved.