MetaUserLinkerAsync

This interface is used with setMetaUserLinker(MetaUserLinkerAsync).

Learn more about Meta-Users here.

MetaUserLinker API

boolean

link (String installId, MetaUserLinkerCallback callback)

boolean link(String installId, MetaUserLinkerCallback callback)

This method will be called when your app needs to handle MetaUser linking, normally during the first ever SDK initialization, but also if MetaUsers are enabled afterwards. This method will be executed on a background thread.

Parameters

installId

A unique Sentiance ID representing the current installation

callback

A MetaUserLInkerCallback you must invoke to inform the SDK about the linking result