After the ads-installreferrer SDK is integrated, you can use related APIs to obtain install referrer information.

Classes

Return typeMethod name
InstallReferrerStateListenerCallback API for service connection. After the install referrer service is connected, the onInstallReferrerSetupFinished(int) method of this listener is called.
InstallReferrerClientAbstract class used to obtain install referrer information.
InstallReferrerClient.BuilderBuilder class used to create an InstallReferrerClient instance.
ReferrerDetailsDescribes the install referrer information.