Marketing Cloud SDK / com.salesforce.marketingcloud / MarketingCloudConfig / Builder / setUseLegacyPiIdentifier

setUseLegacyPiIdentifier

fun setUseLegacyPiIdentifier(useLegacyPiIdentifier: Boolean): Builder

The SDK will, by default, use the RegistrationManager.getContactKey as the Predictive Intelligence Identifier for all Predictive Intelligence analytics. A future release of the SDK will eliminate this default behavior such that a value must be explicitly set as the pi identifier.

Parameters

value - defaults to true. Set to false if you wish to take explicit control of the Predictive Intelligence Identifier value.