Page Summary
-
HeadphoneStateResult is a result type from the getHeadphoneState method.
-
It provides access to the current headphone state through the getHeadphoneState() method.
-
The status of the result can be checked using the getStatus() method.
public interface HeadphoneStateResult implements Result
Result from
getHeadphoneState(GoogleApiClient).
Public Method Summary
| abstract HeadphoneState |
getHeadphoneState()
Returns the current headphone state.
|
Inherited Method Summary
Public Methods
public abstract HeadphoneState getHeadphoneState ()
Returns the current headphone state.
Returns
- Headphone state if
getStatus()was successful, otherwise null.