public class ServiceEvent
extends java.lang.Object
BluetoothProfile. When service state is ServiceEvent.State.DISCONNECTED the mBluetoothProfile is null.| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceEvent.State |
| Constructor and Description |
|---|
ServiceEvent(ServiceEvent.State state,
int profileType,
android.bluetooth.BluetoothProfile bluetoothProfile) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
android.bluetooth.BluetoothProfile |
getBluetoothProfile() |
int |
getProfileType() |
ServiceEvent.State |
getState() |
int |
hashCode() |
java.lang.String |
toString() |
public ServiceEvent(ServiceEvent.State state, int profileType, android.bluetooth.BluetoothProfile bluetoothProfile)
public ServiceEvent.State getState()
public int getProfileType()
public android.bluetooth.BluetoothProfile getBluetoothProfile()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object