package com.blakequ.bluetooth_manager_lib.device;
|
|
import android.bluetooth.BluetoothClass;
|
|
/**
|
*
|
*/
|
public enum BluetoothService {
|
AUDIO(BluetoothClass.Service.AUDIO),
|
CAPTURE(BluetoothClass.Service.CAPTURE),
|
INFORMATION(BluetoothClass.Service.INFORMATION),
|
LIMITED_DISCOVERABILITY(BluetoothClass.Service.LIMITED_DISCOVERABILITY),
|
NETWORKING(BluetoothClass.Service.NETWORKING),
|
OBJECT_TRANSFER(BluetoothClass.Service.OBJECT_TRANSFER),
|
POSITIONING(BluetoothClass.Service.POSITIONING),
|
RENDER(BluetoothClass.Service.RENDER),
|
TELEPHONY(BluetoothClass.Service.TELEPHONY);
|
|
private final int mAndroidConstant;
|
|
BluetoothService(final int androidCode){
|
mAndroidConstant = androidCode;
|
}
|
|
public int getAndroidConstant(){
|
return mAndroidConstant;
|
}
|
}
|