OnboardWithVendorThingIDOptions

public class OnboardWithVendorThingIDOptions

Optional parameters of ThingIFAPI.onboardWithVendorThingID(vendorThingID:thingPassword:options:completionHandler:).

  • Undocumented

    Declaration

    Swift

    public class OnboardWithVendorThingIDOptions
  • Undocumented

    Declaration

    Swift

    public class OnboardWithVendorThingIDOptions
  • Undocumented

    Declaration

    Swift

    public class OnboardWithVendorThingIDOptions
  • Undocumented

    Declaration

    Swift

    public class OnboardWithVendorThingIDOptions
  • Undocumented

    Declaration

    Swift

    public class OnboardWithVendorThingIDOptions
  • initializer.

    Parameter

    Parameter thingType: Type of the thing given by vendor. If the thing is already registered, this value would be ignored by IoT Cloud.

    Parameter

    Parameter firmwareVersion: Firmware version of the thing.

    Parameter

    Parameter thingProperties: The properties of the thing. You can set both the predefined and custom fields. Please read here for more details.

    Parameter

    Parameter position: GATEWAY | STANDALONE | ENDNODE.

    Parameter

    Parameter interval: INTERVAL_1_MINUTE | INTERVAL_15_MINUTES | INTERVAL_30_MINUTES | INTERVAL_1_HOUR | INTERVAL_12_HOURS. Will be used to create the bucket to store the state history when the thing is not using traits.

    Declaration

    Swift

    public init(
            thingType:String? = nil,
            firmwareVersion:String? = nil,
            thingProperties:Dictionary<String,AnyObject>? = nil,
            position: LayoutPosition? = nil,
            interval: DataGroupingInterval? = nil)

    Parameters

    thingType

    Type of the thing given by vendor. If the thing is already registered, this value would be ignored by IoT Cloud.

    firmwareVersion

    Firmware version of the thing.

    thingProperties

    The properties of the thing. You can set both the predefined and custom fields. Please read for more details.

    position

    GATEWAY | STANDALONE | ENDNODE.

    interval

    INTERVAL_1_MINUTE | INTERVAL_15_MINUTES | INTERVAL_30_MINUTES | INTERVAL_1_HOUR | INTERVAL_12_HOURS. Will be used to create the bucket to store the state history when the thing is not using traits.