Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.
Interface Info |
|---|
public interface HeadsetStatus Headset status API class, which defines three constants: CONNECTED (indicating that the headset is connected), DISCONNECTED (indicating that the headset is not connected), and UNKNOWN (indicating that the headset status is not identified). |
Qualifier and Type |
Field and Description |
|---|---|
static int |
The headset is connected. |
static int |
The headset is not connected. |
static int |
The headset status is not identified. |
Qualifier and Type |
Method Name |
|---|---|
abstract int |
Field |
|---|
public static final int CONNECTED The headset is connected. For details, please refer to Constant-values. |
Field |
|---|
public static final int DISCONNECTED The headset is not connected. For details, please refer to Constant-values. |
Field |
|---|
public static final int UNKNOWN The headset status is not identified. For details, please refer to Constant-values. |
Method |
|---|
public abstract int getStatus() Obtains current handset connection status. |
Returns
Type |
Description |
|---|---|
int |
Headset status (CONNECTED, DISCONNECTED, or UNKNOWN). |
Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Quick start
Helps you find desired resources with ease.