Synced to developers/samples/android commit 54bab34b386e343e9d0ea75a5fb8d13db2c71eb5. Change-Id: I1c9d9d2c1f53a051d7b4d85303d5c01ab6f16e68
23 lines
694 B
Java
23 lines
694 B
Java
package com.example.android.bluetoothadvertisements;
|
|
|
|
import android.os.ParcelUuid;
|
|
|
|
/**
|
|
* Constants for use in the Bluetooth Advertisements sample
|
|
*/
|
|
public class Constants {
|
|
|
|
/**
|
|
* UUID identified with this app - set as Service UUID for BLE Advertisements.
|
|
*
|
|
* Bluetooth requires a certain format for UUIDs associated with Services.
|
|
* The official specification can be found here:
|
|
* {@link https://www.bluetooth.org/en-us/specification/assigned-numbers/service-discovery}
|
|
*/
|
|
public static final ParcelUuid Service_UUID = ParcelUuid
|
|
.fromString("0000b81d-0000-1000-8000-00805f9b34fb");
|
|
|
|
public static final int REQUEST_ENABLE_BT = 1;
|
|
|
|
}
|