PyzeCommerceBeacon

@interface PyzeCommerceBeacon : PyzeCustomEvent

PyzeCommerceBeacon

Subclass of PyzeCustomEvent class used post details of the events related to beacon.

Since

v1.0.0
  • Post entered region of beacon details.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postEnteredRegion:(nonnull NSString *)iBeaconUUID
                   withBeaconMajor:(nonnull NSString *)iBeaconMajor
                   withBeaconMinor:(nonnull NSString *)iBeaconMinor
        withUniqueRegionIdentifier:(nonnull NSString *)uniqueRegionIdentifier
                    withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postEnteredRegion(_ iBeaconUUID: String, withBeaconMajor iBeaconMajor: String, withBeaconMinor iBeaconMinor: String, withUniqueRegionIdentifier uniqueRegionIdentifier: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    iBeaconUUID

    Beacon UUID.

    iBeaconMajor

    Beacon major identifier.

    iBeaconMinor

    Beacon minor identifier.

    uniqueRegionIdentifier

    Registration identifier.

    attributes

    Additional custom attributes app would like to share with server.

  • Post exited region detaikls.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postExitedRegion:(nonnull NSString *)iBeaconUUID
                   withBeaconMajor:(nonnull NSString *)iBeaconMajor
                   withBeaconMinor:(nonnull NSString *)iBeaconMinor
        withUniqueRegionIdentifier:(nonnull NSString *)uniqueRegionIdentifier
                    withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postExitedRegion(_ iBeaconUUID: String, withBeaconMajor iBeaconMajor: String, withBeaconMinor iBeaconMinor: String, withUniqueRegionIdentifier uniqueRegionIdentifier: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    iBeaconUUID

    Beacon UUID.

    iBeaconMajor

    Beacon major identifier.

    iBeaconMinor

    Beacon minor identifier.

    uniqueRegionIdentifier

    Registration identifier.

    attributes

    Additional custom attributes app would like to share with server.

  • Post transaction details of Beacon.

    Since

    v1.0.0

    Declaration

    Objective-C

    + (void)postTransactedInRegion:(nonnull NSString *)iBeaconUUID
                   withBeaconMajor:(nonnull NSString *)iBeaconMajor
                   withBeaconMinor:(nonnull NSString *)iBeaconMinor
        withUniqueRegionIdentifier:(nonnull NSString *)uniqueRegionIdentifier
                     withProximity:(nonnull NSString *)proximity
                      withActionId:(nonnull NSString *)actionId
                    withAttributes:(nonnull NSDictionary *)attributes;

    Swift

    class func postTransacted(inRegion iBeaconUUID: String, withBeaconMajor iBeaconMajor: String, withBeaconMinor iBeaconMinor: String, withUniqueRegionIdentifier uniqueRegionIdentifier: String, withProximity proximity: String, withActionId actionId: String, withAttributes attributes: [AnyHashable : Any] = [:])

    Parameters

    iBeaconUUID

    Beacon UUID.

    iBeaconMajor

    Beacon major identifier.

    iBeaconMinor

    Beacon minor identifier.

    uniqueRegionIdentifier

    Registration identifier.

    proximity

    Proximity state i.e. near or far.

    actionId

    Action identifier.

    attributes

    Additional custom attributes app would like to share with server.