public abstract class BTServerService extends Service implements BTServer.Callback
MSG_BT_UUID
, the uuid application, it should always be in capital letters to avoid matching problemsMSG_SERVER_NAME
, the bluetooth server nameModifier and Type | Field and Description |
---|---|
static java.lang.String |
MSG_BT_UUID |
static java.lang.String |
MSG_SERVER_NAME |
Constructor and Description |
---|
BTServerService() |
Modifier and Type | Method and Description |
---|---|
IBinder |
onBind(Intent intent) |
void |
onDestroy() |
int |
onStartCommand(Intent intent,
int flags,
int startId) |
void |
restartServer()
Restart the server
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onServerStopped
isAuthorized, onDisconnected, onMsgReceived
public static final java.lang.String MSG_SERVER_NAME
public static final java.lang.String MSG_BT_UUID