- getBytes(int) - Method in class com.getpebble.android.kit.util.PebbleDictionary
-
Returns the byte array to which the specified key is mapped, or null if the key does not exist in this
dictionary.
- getCustomLabel() - Method in class com.getpebble.android.kit.util.SportsState
-
The custom label to show in the sports UI.
- getCustomValue() - Method in class com.getpebble.android.kit.util.SportsState
-
The custom value to show in the sports UI.
- getDistance() - Method in class com.getpebble.android.kit.util.SportsState
-
The current distance in kilometers or miles.
- getHeartBPM() - Method in class com.getpebble.android.kit.util.SportsState
-
The current heart rate in beats per minute.
- getInteger(int) - Method in class com.getpebble.android.kit.util.PebbleDictionary
-
Returns the signed integer to which the specified key is mapped, or null if the key does not exist in this
dictionary.
- getMajor() - Method in class com.getpebble.android.kit.PebbleKit.FirmwareVersionInfo
-
- getMinor() - Method in class com.getpebble.android.kit.PebbleKit.FirmwareVersionInfo
-
- getPaceInSec() - Method in class com.getpebble.android.kit.util.SportsState
-
The current pace in seconds per kilometer or seconds per mile.
- getPoint() - Method in class com.getpebble.android.kit.PebbleKit.FirmwareVersionInfo
-
- getSpeed() - Method in class com.getpebble.android.kit.util.SportsState
-
The current speed in kilometers per hour or miles per hour.
- getString(int) - Method in class com.getpebble.android.kit.util.PebbleDictionary
-
Returns the string to which the specified key is mapped, or null if the key does not exist in this dictionary.
- getTag() - Method in class com.getpebble.android.kit.PebbleKit.FirmwareVersionInfo
-
- getTimeInSec() - Method in class com.getpebble.android.kit.util.SportsState
-
The current time in seconds.
- getUnsignedIntegerAsLong(int) - Method in class com.getpebble.android.kit.util.PebbleDictionary
-
Returns the unsigned integer as a long to which the specified key is mapped, or null if the key does not exist in this
dictionary.
- getWatchFWVersion(Context) - Static method in class com.getpebble.android.kit.PebbleKit
-
Get the version information of the firmware running on a connected watch.
- GOLF_BACK_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The Constant GOLF_BACK_KEY.
- GOLF_CMD_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The Constant GOLF_CMD_KEY.
- GOLF_CMD_NEXT - Static variable in class com.getpebble.android.kit.Constants
-
Command sent by the golf-application to display the previous hole.
- GOLF_CMD_PREV - Static variable in class com.getpebble.android.kit.Constants
-
Command sent by the golf-application to display the next hole.
- GOLF_FRONT_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The Constant GOLF_FRONT_KEY.
- GOLF_HOLE_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The Constant GOLF_HOLE_KEY.
- GOLF_MID_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The Constant GOLF_MID_KEY.
- GOLF_PAR_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The Constant GOLF_PAR_KEY.
- GOLF_UUID - Static variable in class com.getpebble.android.kit.Constants
-
The UUID corresponding to Pebble's built-in "Golf" application.
- INTENT_APP_ACK - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast to pebble.apk to indicate that a message was received from the watch.
- INTENT_APP_CUSTOMIZE - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast to pebble.apk responsible for customizing the name and icon of the 'stock' Sports and Golf
applications included in the watch's firmware.
- INTENT_APP_NACK - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast to pebble.apk to indicate that a message was unsuccessfully received from the watch.
- INTENT_APP_RECEIVE - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast from pebble.apk containing one-or-more key-value pairs sent from the watch to the phone.
- INTENT_APP_RECEIVE_ACK - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast from pebble.apk indicating that a sent message was successfully received by a watch app.
- INTENT_APP_RECEIVE_NACK - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast from pebble.apk indicating that a sent message was not received by a watch app.
- INTENT_APP_SEND - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast to pebble.apk containing one-or-more key-value pairs to be sent to the watch from the phone.
- INTENT_APP_START - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast to pebble.apk responsible for launching a watch-app on the connected watch.
- INTENT_APP_STOP - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast to pebble.apk responsible for closing a running watch-app on the connected watch.
- INTENT_DL_ACK_DATA - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast to pebble.apk implicitly when a unit of data from a data log is received.
- INTENT_DL_FINISH_SESSION - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast from pebble.apk indicating the session has finished.
- INTENT_DL_RECEIVE_DATA - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast from pebble.apk containing a unit of data from a data log.
- INTENT_DL_REQUEST_DATA - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast to pebble.apk to request data logs for a particular app.
- INTENT_PEBBLE_CONNECTED - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast by pebble.apk when a new connection to a Pebble is established.
- INTENT_PEBBLE_DISCONNECTED - Static variable in class com.getpebble.android.kit.Constants
-
Intent broadcast by pebble.apk when the connection to a Pebble is closed or lost.
- isDataLoggingSupported(Context) - Static method in class com.getpebble.android.kit.PebbleKit
-
Synchronously query the Pebble application to see if the connected watch is running a firmware version that
supports PebbleKit data logging.
- isWatchConnected(Context) - Static method in class com.getpebble.android.kit.PebbleKit
-
Synchronously query the Pebble application to see if an active Bluetooth connection to a watch currently exists.
- iterator() - Method in class com.getpebble.android.kit.util.PebbleDictionary
- receiveAck(Context, int) - Method in class com.getpebble.android.kit.PebbleKit.PebbleAckReceiver
-
Handle the ACK received from the connected watch.
- receiveData(Context, UUID, Long, Long, Long) - Method in class com.getpebble.android.kit.PebbleKit.PebbleDataLogReceiver
-
Handle an UnsignedInteger data unit that was logged the watch and broadcast by pebble.apk.
- receiveData(Context, UUID, Long, Long, byte[]) - Method in class com.getpebble.android.kit.PebbleKit.PebbleDataLogReceiver
-
Handle a byte array data unit that was logged the watch and broadcast by pebble.apk.
- receiveData(Context, UUID, Long, Long, int) - Method in class com.getpebble.android.kit.PebbleKit.PebbleDataLogReceiver
-
Handle an int data unit that was logged the watch and broadcast by pebble.apk.
- receiveData(Context, int, PebbleDictionary) - Method in class com.getpebble.android.kit.PebbleKit.PebbleDataReceiver
-
Perform some work on the data received from the connected watch.
- receiveNack(Context, int) - Method in class com.getpebble.android.kit.PebbleKit.PebbleNackReceiver
-
Handle the NACK received from the connected watch.
- registerDataLogReceiver(Context, PebbleKit.PebbleDataLogReceiver) - Static method in class com.getpebble.android.kit.PebbleKit
-
A convenience function to assist in programatically registering a broadcast receiver for the 'DATA_AVAILABLE'
intent.
- registerPebbleConnectedReceiver(Context, BroadcastReceiver) - Static method in class com.getpebble.android.kit.PebbleKit
-
A convenience function to assist in programatically registering a broadcast receiver for the 'CONNECTED' intent.
- registerPebbleDisconnectedReceiver(Context, BroadcastReceiver) - Static method in class com.getpebble.android.kit.PebbleKit
-
A convenience function to assist in programatically registering a broadcast receiver for the 'DISCONNECTED'
intent.
- registerReceivedAckHandler(Context, PebbleKit.PebbleAckReceiver) - Static method in class com.getpebble.android.kit.PebbleKit
-
A convenience function to assist in programatically registering a broadcast receiver for the 'RECEIVE_ACK'
intent.
- registerReceivedDataHandler(Context, PebbleKit.PebbleDataReceiver) - Static method in class com.getpebble.android.kit.PebbleKit
-
A convenience function to assist in programatically registering a broadcast receiver for the 'RECEIVE' intent.
- registerReceivedNackHandler(Context, PebbleKit.PebbleNackReceiver) - Static method in class com.getpebble.android.kit.PebbleKit
-
A convenience function to assist in programatically registering a broadcast receiver for the 'RECEIVE_NACK'
intent.
- remove(int) - Method in class com.getpebble.android.kit.util.PebbleDictionary
-
Removes the mapping for a key from this map if it is present.
- requestDataLogsForApp(Context, UUID) - Static method in class com.getpebble.android.kit.PebbleKit
-
A convenience function to emit an intent to pebble.apk to request the data logs for a particular app.
- sendAckToPebble(Context, int) - Static method in class com.getpebble.android.kit.PebbleKit
-
Send a message to the connected watch acknowledging the receipt of a PebbleDictionary.
- sendDataToPebble(Context, UUID, PebbleDictionary) - Static method in class com.getpebble.android.kit.PebbleKit
-
Send one-or-more key-value pairs to the watch-app identified by the provided UUID.
- sendDataToPebbleWithTransactionId(Context, UUID, PebbleDictionary, int) - Static method in class com.getpebble.android.kit.PebbleKit
-
Send one-or-more key-value pairs to the watch-app identified by the provided UUID.
- sendNackToPebble(Context, int) - Static method in class com.getpebble.android.kit.PebbleKit
-
Send a message to the connected watch that the previously sent PebbleDictionary was not received successfully.
- setCustomLabel(String) - Method in class com.getpebble.android.kit.util.SportsState
-
Set the custom label to show in the sports UI.
- setCustomValue(String) - Method in class com.getpebble.android.kit.util.SportsState
-
Set the custom value to show in the sports UI.
- setDistance(float) - Method in class com.getpebble.android.kit.util.SportsState
-
Set the current distance in kilometers or miles.
- setHeartBPM(byte) - Method in class com.getpebble.android.kit.util.SportsState
-
Set the current heart rate in beats per minute.
- setPaceInSec(int) - Method in class com.getpebble.android.kit.util.SportsState
-
Set the current pace in seconds per kilometer or seconds per mile.
- setSpeed(float) - Method in class com.getpebble.android.kit.util.SportsState
-
Set the current speed in kilometers per hour or miles per hour.
- setTimeInSec(int) - Method in class com.getpebble.android.kit.util.SportsState
-
Set the current time in seconds.
- size() - Method in class com.getpebble.android.kit.util.PebbleDictionary
-
Returns the number of key-value pairs in this dictionary.
- SPORTS_CUSTOM_LABEL_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The PebbleDictionary key corresponding to the custom label field sent to the Sports watch-app.
- SPORTS_CUSTOM_VALUE_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The PebbleDictionary key corresponding to the custom value sent to the Sports watch-app.
- SPORTS_DATA_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The PebbleDictionary key corresponding to the 'data' field sent to the Sports watch-app.
- SPORTS_DATA_PACE - Static variable in class com.getpebble.android.kit.Constants
-
PebbleDictionary value corresponding to 'pace' data.
- SPORTS_DATA_SPEED - Static variable in class com.getpebble.android.kit.Constants
-
PebbleDictionary value corresponding to 'speed' data.
- SPORTS_DISTANCE_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The PebbleDictionary key corresponding to the 'distance' field sent to the Sports watch-app.
- SPORTS_HR_BPM_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The PebbleDictionary key corresponding to the 'heart rate' field sent to the Sports watch-app.
- SPORTS_LABEL_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The PebbleDictionary key corresponding to the 'label' field sent to the Sports watch-app.
- SPORTS_STATE_END - Static variable in class com.getpebble.android.kit.Constants
-
The Constant SPORTS_STATE_END.
- SPORTS_STATE_INIT - Static variable in class com.getpebble.android.kit.Constants
-
The Constant SPORTS_STATE_INIT.
- SPORTS_STATE_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The PebbleDictionary key corresponding to the 'state' field sent to the Sports watch-app.
- SPORTS_STATE_PAUSED - Static variable in class com.getpebble.android.kit.Constants
-
The Constant SPORTS_STATE_PAUSED.
- SPORTS_STATE_RUNNING - Static variable in class com.getpebble.android.kit.Constants
-
The Constant SPORTS_STATE_RUNNING.
- SPORTS_TIME_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The PebbleDictionary key corresponding to the 'time' field sent to the Sports watch-app.
- SPORTS_UNITS_IMPERIAL - Static variable in class com.getpebble.android.kit.Constants
-
PebbleDictionary value corresponding to 'imperial' units.
- SPORTS_UNITS_KEY - Static variable in class com.getpebble.android.kit.Constants
-
The PebbleDictionary key corresponding to the 'units' field sent to the Sports watch-app.
- SPORTS_UNITS_METRIC - Static variable in class com.getpebble.android.kit.Constants
-
PebbleDictionary value corresponding to 'metric' units.
- SPORTS_UUID - Static variable in class com.getpebble.android.kit.Constants
-
The UUID corresponding to Pebble's built-in "Sports" application.
- SportsState - Class in com.getpebble.android.kit.util
-
This container class includes new values of time, distance, and pace or speed.
- SportsState() - Constructor for class com.getpebble.android.kit.util.SportsState
-
- startAppOnPebble(Context, UUID) - Static method in class com.getpebble.android.kit.PebbleKit
-
Send a message to the connected Pebble to launch an application identified by a UUID.
- synchronize(Context) - Method in class com.getpebble.android.kit.util.SportsState
-
Synchronizes the current state of the Sports App to the connected watch.