Delete Constants.kt
parent
a2b5112b7b
commit
b3dc1f3fd1
@ -1,19 +0,0 @@
|
|||||||
package com.rookiedev.hexapod.network
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Defines several constants used between [BluetoothService] and the UI.
|
|
||||||
*/
|
|
||||||
interface Constants {
|
|
||||||
companion object {
|
|
||||||
// Message types sent from the BluetoothChatService Handler
|
|
||||||
const val MESSAGE_STATE_CHANGE = 1
|
|
||||||
const val MESSAGE_READ = 2
|
|
||||||
const val MESSAGE_WRITE = 3
|
|
||||||
const val MESSAGE_DEVICE_NAME = 4
|
|
||||||
const val MESSAGE_TOAST = 5
|
|
||||||
|
|
||||||
// Key names received from the BluetoothChatService Handler
|
|
||||||
const val DEVICE_NAME = "device_name"
|
|
||||||
const val TOAST = "toast"
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue