MPExtensionKitProtocol Protocol Reference

Conforms to MPExtensionProtocol
Declared in MPExtensionProtocol.h

  code required method

Kit code. Obtained from mParticle and informed to the Core SDK

@property (nonatomic, strong, nonnull, readonly) NSNumber *code

Discussion

Kit code. Obtained from mParticle and informed to the Core SDK

Declared In

MPExtensionProtocol.h

  wrapperInstance required method

Instance of the 3rd party kit wrapper implementation. The instance is allocated by the mParticle SDK and uses the class name provided by the className parameter. You should not set this property. It’s lifecycle is managed by the mParticle SDK

@property (nonatomic, strong, nullable) id<MPKitProtocol> wrapperInstance

Discussion

Instance of the 3rd party kit wrapper implementation. The instance is allocated by the mParticle SDK and uses the class name provided by the className parameter. You should not set this property. It’s lifecycle is managed by the mParticle SDK

Declared In

MPExtensionProtocol.h

  name required method

Kit name. Obtained from the 3rd party library provider and informed to the Core SDK

@property (nonatomic, strong, nonnull, readonly) NSString *name

Discussion

Kit name. Obtained from the 3rd party library provider and informed to the Core SDK

Declared In

MPExtensionProtocol.h

  className required method

Name of the class implementing the wrapper to forward calls to 3rd party kits

@property (nonatomic, strong, nonnull, readonly) NSString *className

Discussion

Name of the class implementing the wrapper to forward calls to 3rd party kits

Declared In

MPExtensionProtocol.h

– initWithName:className: required method

Allocates and initializes a register to a 3rd party kit implementation

- (nullable instancetype)initWithName:(nonnull NSString *)name className:(nonnull NSString *)className

Parameters

name

Kit name. Obtained from the 3rd party library provider and informed to the Core SDK

className

Name of the class implementing the wrapper to forward calls to 3rd party kits

Return Value

An instance of a kit register or nil if a kit register could not be instantiated

Discussion

Allocates and initializes a register to a 3rd party kit implementation

Declared In

MPExtensionProtocol.h