InstallReceiver

Tracks Google Play Store install referrals. The receiver needs to be added to the manifest before the install referrals will be tracked:

`<receiver android:name="com.urbanairship.analytics.InstallReceiver" exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>

Only a single receiver is able to handle the "com.android.vending.INSTALL_REFERRER" action. To handle multiple receivers, instead of registering the InstallReceiver, register a custom receiver that notifies multiple receivers:

`// Notify the Airship InstallReceiver
new InstallReceiver().onReceive(context, intent);

// Notify other receivers
new OtherReceiver().onReceive(context, intent);

Constructors

Link copied to clipboard
constructor()

Inherited properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val sentFromUid: Int

Functions

Link copied to clipboard
open override fun onReceive(context: Context, intent: Intent?)

Inherited functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun peekService(myContext: Context?, service: Intent?): IBinder?
Link copied to clipboard
fun setOrderedHint(isOrdered: Boolean)
Link copied to clipboard
fun setResult(code: Int, data: String?, extras: Bundle?)
Link copied to clipboard
fun setResultExtras(extras: Bundle?)