| com.google.android.gms.awareness.state.HeadphoneState |
Headphone state.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| HeadphoneState.State | Valid states for headphones. | ||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | PLUGGED_IN | Indicates that headphones are plugged into the physical headphone jack. | |||||||||
| int | UNPLUGGED | Indicates that there are no headphones plugged into the physical headphone jack. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the current state of the headphones.
| |||||||||||
Indicates that headphones are plugged into the physical headphone jack.
Indicates that there are no headphones plugged into the physical headphone jack.
Returns the current state of the headphones.
PLUGGED_IN
or UNPLUGGED.