HeadphoneStateResponse

  • HeadphoneStateResponse is a result from calling getHeadphoneState().

  • It includes a public method getHeadphoneState() which returns the current headphone state.

  • It inherits methods from com.google.android.gms.common.api.Response and java.lang.Object.

public class HeadphoneStateResponse extends Response<HeadphoneStateResult>

Result from getHeadphoneState().

Public Method Summary

HeadphoneState
getHeadphoneState()
Returns the current headphone state.

Inherited Method Summary

Public Methods

public HeadphoneState getHeadphoneState ()

Returns the current headphone state.

Returns
  • Headphone state.