MCERegistrationDetails Class Reference

Inherits from NSObject
Declared in MCERegistrationDetails.h
MCERegistrationDetails.m

Overview

MCERegistrationDetails provides the userId, channelId and pushToken registration details. You might want to store the userId and channelId on your servers if you want to directly target users and channels.

+ sharedInstance

This method returns the singleton object of this class.

+ (instancetype)sharedInstance

Discussion

This method returns the singleton object of this class.

Declared In

MCERegistrationDetails.h

– apsRegistered

Is registered with Apple Push Service

- (BOOL)apsRegistered

Return Value

TRUE or FALSE

Discussion

Is registered with Apple Push Service

Declared In

MCERegistrationDetails.h

– pushToken

Push Token for APNS registration

- (NSData *)pushToken

Return Value

pushToken an NSData value representing the push token for the app installation on the device from APNS.

Discussion

Push Token for APNS registration

Declared In

MCERegistrationDetails.h

– mceRegistered

Is registered with Acoustic Mobile Channel Engagement service

- (BOOL)mceRegistered

Return Value

TRUE or FALSE

Discussion

Is registered with Acoustic Mobile Channel Engagement service

Declared In

MCERegistrationDetails.h

– userId

Retrieve userId

- (NSString *)userId

Return Value

userId a string value assigned to the user (potentially multiple devices)

Discussion

Retrieve userId

Declared In

MCERegistrationDetails.h

– channelId

Retrieve channelId

- (NSString *)channelId

Return Value

channelId a string value assigned to the channel (device)

Discussion

Retrieve channelId

Declared In

MCERegistrationDetails.h

– userInvalidated

When a user has been invalidated and the autoReinitialize flag is false in the MceConfig.json file, this value will be set to true. Applications must check this value if they want to manually reinitialize the registration and when this value is true, applications should execute MceSdk.sharedInstance’s manualInitialization method.

- (BOOL)userInvalidated

Discussion

When a user has been invalidated and the autoReinitialize flag is false in the MceConfig.json file, this value will be set to true. Applications must check this value if they want to manually reinitialize the registration and when this value is true, applications should execute MceSdk.sharedInstance’s manualInitialization method.

Declared In

MCERegistrationDetails.h