Class Identifier

  • All Implemented Interfaces:
    android.os.Parcelable

    public class Identifier
    extends buzz.getcoco.iot.Identifier
    implements android.os.Parcelable
    • Nested Class Summary

      • Nested classes/interfaces inherited from class buzz.getcoco.iot.Identifier

        buzz.getcoco.iot.Identifier.SerializedId, buzz.getcoco.iot.Identifier.SourceIdentifier, buzz.getcoco.iot.Identifier.TriggerIdentifier
      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<Identifier> CREATOR  
      • Fields inherited from class buzz.getcoco.iot.Identifier

        attributeId, capabilityId, deviceNodeId, networkId, resourceEui, ruleId, sceneId, zoneId
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Field Detail

      • CREATOR

        public static android.os.Parcelable.Creator<Identifier> CREATOR
    • Method Detail

      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(android.os.Parcel parcel,
                                  int i)
        Specified by:
        writeToParcel in interface android.os.Parcelable
      • getIdentifier

        public static Identifier getIdentifier​(java.lang.String networkId)
      • getIdentifier

        public static Identifier getIdentifier​(buzz.getcoco.iot.Network network)
      • getIdentifier

        public static Identifier getIdentifier​(buzz.getcoco.iot.Device device)
      • getIdentifier

        public static Identifier getIdentifier​(buzz.getcoco.iot.Resource resource)
      • getIdentifier

        public static Identifier getIdentifier​(buzz.getcoco.iot.Capability capability)
      • getIdentifier

        public static Identifier getIdentifier​(buzz.getcoco.iot.Attribute attribute)
      • getIdentifier

        public static Identifier getIdentifier​(buzz.getcoco.iot.Zone zone)
      • getIdentifier

        public static Identifier getIdentifier​(buzz.getcoco.iot.Scene scene)
      • getIdentifier

        public static Identifier getIdentifier​(buzz.getcoco.iot.Rule rule)
      • fromJson

        public static Identifier fromJson​(java.lang.String json)