-
public final class PreferencesExtensionV4Kt
-
-
Method Summary
Modifier and Type Method Description final static StringgetLegacyAppId(IPreferencesService $self)Returns the cached app ID from v4 of the SDK, if available. final static StringgetLegacyPlayerId(IPreferencesService $self)Returns the cached legacy player ID from v4 of the SDK, if available. final static StringgetLegacyUserSyncValues(IPreferencesService $self)Returns the cached Legacy User Sync Values from v4 of the SDK, if available. final static UnitclearLegacyPlayerId(IPreferencesService $self)Clears the legacy player ID from v4 of the SDK. -
-
Method Detail
-
getLegacyAppId
final static String getLegacyAppId(IPreferencesService $self)
Returns the cached app ID from v4 of the SDK, if available. This is to maintain compatibility with apps that have not updated to the latest app ID.
-
getLegacyPlayerId
final static String getLegacyPlayerId(IPreferencesService $self)
Returns the cached legacy player ID from v4 of the SDK, if available. Used to determine if migration from v4 to v5 is needed.
-
getLegacyUserSyncValues
final static String getLegacyUserSyncValues(IPreferencesService $self)
Returns the cached Legacy User Sync Values from v4 of the SDK, if available. This maintains compatibility with apps upgrading from v4 to v5.
-
clearLegacyPlayerId
final static Unit clearLegacyPlayerId(IPreferencesService $self)
Clears the legacy player ID from v4 of the SDK. Called after successfully migrating user data to v5 format.
-
-
-
-