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

Public Methods

public int getCaptureMode ()

Returns
int 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
int 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
boolean Whether the service is currently capturing or not.

public boolean isOverlayVisible ()

Returns
boolean 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
boolean Whether the capture is currently paused or not. Will always be false if isCapturing() if false.

public String toString ()

Returns
String