pebble
  • Tutorials
  • Get the SDK
  • Guides
  • Documentation
  • Examples
  • Community
  • Blog
  • More
Privacy
Cookies
Publish

PebbleKit Android

  • Pebble C API
  • Pebble JavaScript API
  • PebbleKit JS
  • PebbleKit iOS
  • PebbleKit Android
  • com.getpebble.android.kit
    • Constants
    • PebbleKit
    • PebbleKit.FirmwareVersionInfo
    • PebbleKit.PebbleAckReceiver
    • PebbleKit.PebbleDataLogReceiver
    • PebbleKit.PebbleDataReceiver
    • PebbleKit.PebbleNackReceiver
    • Constants.PebbleAppType
    • Constants.PebbleDataType
  • com.getpebble.android.kit.util
    • PebbleDictionary
    • PebbleTuple
    • SportsState
    • PebbleDictionary.PebbleDictTypeException
    • PebbleDictionary.TupleOverflowException
    • PebbleTuple.ValueOverflowException

PebbleTuple

  • java.lang.Object
    • com.getpebble.android.kit.util.PebbleTuple


  • public class PebbleTuple
    extends java.lang.Object
    A key-value pair stored in a PebbleDictionary.
    • Nested Class Summary

      Modifier and Type Class and Description
      static class  PebbleTuple.ValueOverflowException 
    • Field Summary

      Modifier and Type Field and Description
      int key
      The integer key identifying the tuple.
      int length
      The length of the tuple's value in bytes.
      com.getpebble.android.kit.util.PebbleTuple.TupleType type
      The type of value contained in the tuple.
      java.lang.Object value
      The value being associated with the tuple's key.
      com.getpebble.android.kit.util.PebbleTuple.Width width
      The 'width' of the tuple's value; This value will always be 'NONE' for non-integer types.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • key

        public final int key
        The integer key identifying the tuple.
      • type

        public final com.getpebble.android.kit.util.PebbleTuple.TupleType type
        The type of value contained in the tuple.
      • width

        public final com.getpebble.android.kit.util.PebbleTuple.Width width
        The 'width' of the tuple's value; This value will always be 'NONE' for non-integer types.
      • length

        public final int length
        The length of the tuple's value in bytes.
      • value

        public final java.lang.Object value
        The value being associated with the tuple's key.