Google is committed to advancing racial equity for Black communities. See how.

HeadphoneStateResult

public interface HeadphoneStateResult implements Result

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.