ICMessageSynchronizer

The message synchronizer may be used to enable synchronization of In-App messages between the imiconnect platform and the SDK. Synchronization occurs automatically based on the policy settings supplied to the synchronizer.

Message synchronization is disabled by default.

setPolicy


Sets the policy object which controls the extent of In-App message data that should be synchronized.

  Syntax: void setPolicy(ICMessageSynchronizationPolicy policy)

Parameters

Parameter

Type

Description

policy

ICMessageSynchronizationPolicy

A valid policy instance. Passing null will cause the method to fail gracefully, but any previously set policy will continue to apply.