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

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

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
    The integer key identifying the tuple.
    final int
    The length of the tuple's value in bytes.
    final com.getpebble.android.kit.util.PebbleTuple.TupleType
    The type of value contained in the tuple.
    final Object
    The value being associated with the tuple's key.
    final com.getpebble.android.kit.util.PebbleTuple.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 Details

    • 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 Object value
      The value being associated with the tuple's key.