The PHONEBUTTONSTATE_ bit-flag constants describe the button's positions.
The button is in the "up" state.
The button is in the "down" state (pressed down).
Indicates that the up or down state of the button is not known at this time,
but may become known at a future time.
Indicates that the up or down state of the button is not known to the service
provider, and will not become known at a future time.
No extensibility. All 32 bits are reserved.
For backward compatibility, it is the responsibility of the service provider
to examine the negotiated API version on the phone, and to not use these
PHONEBUTTONSTATE_ values if not supported on the negotiated version.
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages