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

# CaptureState

extends Object

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

## Class Overview

Data class used to return the capture state to the client. It will unparcel the data out of a bundle that was sent across the binder.

## Summary

Public Methods
int | getCaptureMode()
int | getCaptureQuality()
boolean | isCapturing()
boolean | isOverlayVisible()
boolean | isPaused()
String | toString()

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

## Public Methods

#### public int getCaptureMode ()

##### Returns

- The capture mode of the current capture. One of `CAPTURE_MODE_FILE`, `CAPTURE_MODE_STREAM`, or `CAPTURE_MODE_STREAM` when not capturing.

#### public int getCaptureQuality ()

##### Returns

- The quality level of the current capture. One of `QUALITY_LEVEL_FULLHD`, `QUALITY_LEVEL_XHD`, `QUALITY_LEVEL_HD`, `QUALITY_LEVEL_SD`, or `QUALITY_LEVEL_UNKNOWN` when not capturing.

#### public boolean isCapturing ()

##### Returns

- Whether the service is currently capturing or not.

#### public boolean isOverlayVisible ()

##### Returns

- Whether the capture overlay is currently visible or not. This also indicates the capture overlay is being used by the user and background capture will fail.

#### public boolean isPaused ()

##### Returns

- Whether the capture is currently paused or not. Will always be `false` if `isCapturing()` if `false`.

#### public String toString ()