ESTEddystoneAttachment

@interface ESTEddystoneAttachment : NSObject <NSCopying>

ESTEddystoneAttachment class represents attachments from resolving EID.

  • Opaque data container for client-provided data.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nullable data;

    Swift

    var data: String? { get }
  • Initialize object with specified namespacedType and data.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithNamespacedType:
                                (nullable NSString *)namespacedType
                                              data:(nullable NSString *)data;

    Swift

    init(namespacedType: String?, data: String?)

    Parameters

    namespacedType

    String representing what kind of attachment is this.

    data

    User-provided data.

    Return Value

    Initialized object.

  • Initialize object with cloud data.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithCloudData:(nonnull NSDictionary *)cloudData;

    Swift

    init(cloudData: [AnyHashable : Any])

    Parameters

    cloudData

    Cloud data associated with Eddystone attachment

    Return Value

    Initialized object.