java.lang.Object |
↳ |
com.google.android.gms.games.video.VideoConfiguration |
Class Overview
Data class used to pass the video configuration from the client to the service.
Summary
Nested Classes |
class |
VideoConfiguration.Builder |
|
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Constants
public
static
final
int
CAPTURE_MODE_FILE
Capture device audio and video to a local file.
Constant Value:
0
(0x00000000)
public
static
final
int
CAPTURE_MODE_STREAM
Capture device audio and video, and stream it live.
Constant Value:
1
(0x00000001)
public
static
final
int
CAPTURE_MODE_UNKNOWN
An unknown value to return when capture mode is not available.
Constant Value:
-1
(0xffffffff)
public
static
final
int
NUM_CAPTURE_MODE
The number of available capture modes.
Constant Value:
2
(0x00000002)
public
static
final
int
NUM_QUALITY_LEVEL
The number of available quality levels.
Constant Value:
4
(0x00000004)
public
static
final
int
QUALITY_LEVEL_FULLHD
Full HD quality: 2160P resolution and high bit rate, e.g. 10-12Mbps.
Constant Value:
3
(0x00000003)
public
static
final
int
QUALITY_LEVEL_HD
HD quality: DVD HD resolution (i.e. 720p) and a medium bit rate (e.g. 3-4Mbps).
Constant Value:
1
(0x00000001)
public
static
final
int
QUALITY_LEVEL_SD
SD quality: Standard def resolution (e.g. 480p) and a low bit rate (e.g. 1-2Mbps).
Constant Value:
0
(0x00000000)
public
static
final
int
QUALITY_LEVEL_UNKNOWN
An unknown value to return when quality level is not available.
Constant Value:
-1
(0xffffffff)
public
static
final
int
QUALITY_LEVEL_XHD
Extreme HD quality: BluRay HD resolution (i.e. 1080p) and a high bit rate (e.g. 6-8Mbps).
Constant Value:
2
(0x00000002)
Fields
Public Methods
public
int
getCaptureMode
()
public
int
getQualityLevel
()
public
static
boolean
isValidCaptureMode
(int captureMode, boolean allowUnknown)
Parameters |
captureMode |
int
|
allowUnknown |
boolean
|
public
static
boolean
isValidQualityLevel
(int qualityLevel, boolean allowUnknown)
Parameters |
qualityLevel |
int
|
allowUnknown |
boolean
|
public
void
writeToParcel
(Parcel out, int flags)
Parameters |
out |
Parcel
|
flags |
int
|