Page Summary
-
The Videos.CaptureAvailableResult interface is deprecated.
-
The
isAvailableresult is returned directly in the VideosClient. -
Possible status codes indicate if capture is supported, unsupported, or if an internal error occurred.
-
The
isAvailable()method returns a boolean indicating if the capture service is available.
This interface is deprecated.
isAvailable is returned directly in the VideosClient.
Result delivered when capture availability is returned by
Videos.isCaptureAvailable(GoogleApiClient, int).
Possible status codes include:
GamesStatusCodes.STATUS_OKif we successfully communicated with the service and the device supports capture.GamesStatusCodes.STATUS_VIDEO_UNSUPPORTEDif the device does not support capturing at all. This will always be the case for Android versions belowBuild.VERSION_CODES.LOLLIPOP.GamesStatusCodes.STATUS_INTERNAL_ERRORif an unexpected error occurred in the service.
Public Method Summary
| abstract boolean |
isAvailable()
Returns if the capture service is available or not.
|
Inherited Method Summary
Public Methods
public abstract boolean isAvailable ()
Returns if the capture service is available or not. If it's already in use or we
cannot connect then this will be false.