Summary: Inherited Constants | Fields | Methods | Inherited Methods | [Expand All]
public final class

# VideoCapabilities

extends Object
implements SafeParcelable

java.lang.Object
↳ | com.google.android.gms.games.video.VideoCapabilities

## Class Overview

Contains information on what capabilities the current device has for video recording.

## Summary

[Expand] Inherited Constants
From interface com.google.android.gms.common.internal.safeparcel.SafeParcelable
String | NULL |
From interface android.os.Parcelable
int | CONTENTS_FILE_DESCRIPTOR |
int | PARCELABLE_WRITE_RETURN_VALUE |

Fields
public static final Creator<VideoCapabilities> | CREATOR |

Public Methods
boolean | equals(Object obj)
int | hashCode()
boolean | isCameraSupported() Returns whether the device has a front-facing camera and we can use it.
boolean | isFullySupported(int captureMode, int qualityLevel) Checks if the capture mode and quality level are support, and camera, mic, and storage write.
boolean | isMicSupported() Returns whether the device has a microphone and we can use it.
boolean | isWriteStorageSupported() Returns whether the device has an external storage device and we can use it.
boolean | supportsCaptureMode(int captureMode) Returns whether the device supports the given capture mode.
boolean | supportsQualityLevel(int qualityLevel) Returns whether the device supports the given quality level.
String | toString()
void | writeToParcel(Parcel out, int flags)

[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)

## Fields

#### public static final Creator<VideoCapabilities> CREATOR

## Public Methods

#### public boolean equals (Object obj)

#### public int hashCode ()

#### public boolean isCameraSupported ()

Returns whether the device has a front-facing camera and we can use it.

#### public boolean isFullySupported (int captureMode, int qualityLevel)

Checks if the capture mode and quality level are support, and camera, mic, and storage write.

##### Parameters

captureMode | One of these values: `CAPTURE_MODE_FILE` or `CAPTURE_MODE_STREAM`.
qualityLevel | One of these values: `QUALITY_LEVEL_SD`, `QUALITY_LEVEL_HD`, `QUALITY_LEVEL_FULLHD`, or `QUALITY_LEVEL_XHD`.

#### public boolean isMicSupported ()

Returns whether the device has a microphone and we can use it.

#### public boolean isWriteStorageSupported ()

Returns whether the device has an external storage device and we can use it.

#### public boolean supportsCaptureMode (int captureMode)

Returns whether the device supports the given capture mode.

##### Parameters

captureMode | One of these values: `CAPTURE_MODE_FILE` or `CAPTURE_MODE_STREAM`.

#### public boolean supportsQualityLevel (int qualityLevel)

Returns whether the device supports the given quality level.

##### Parameters

qualityLevel | One of these values: `QUALITY_LEVEL_SD`, `QUALITY_LEVEL_HD`, `QUALITY_LEVEL_FULLHD`, or `QUALITY_LEVEL_XHD`.

#### public String toString ()

#### public void writeToParcel (Parcel out, int flags)