UserMessagingPlatform

public final class UserMessagingPlatform extends Object

Entry point for the User Messaging Platform SDK.

Nested Class Summary

interface UserMessagingPlatform.OnConsentFormLoadFailureListener Interface definition for a callback to be invoked when a consent form failed to load. 
interface UserMessagingPlatform.OnConsentFormLoadSuccessListener Interface definition for a callback to be invoked when a consent form loads successfully. 

Public Method Summary

static ConsentInformation
getConsentInformation(Context context)
static void

Inherited Method Summary

Public Methods

public static ConsentInformation getConsentInformation (Context context)

Parameters
context

public static void loadConsentForm (Context context, UserMessagingPlatform.OnConsentFormLoadSuccessListener successListener, UserMessagingPlatform.OnConsentFormLoadFailureListener failureListener)

Loads a ConsentForm.

Check that isConsentFormAvailable() returns true prior to calling this method.

Parameters
context The context.
successListener The consent form load success listener.
failureListener The consent form load failure listener.