InstallReferrerClient.Builder

public static final class InstallReferrerClient.Builder
extends Object

java.lang.Object
   ↳ com.android.installreferrer.api.InstallReferrerClient.Builder


Builder to configure and create a InstallReferrer instance.

Summary

Public methods

InstallReferrerClient build()

Creates a Install Referrer client instance.

Inherited methods

From class java.lang.Object

Public methods

build

InstallReferrerClient build ()

Creates a Install Referrer client instance.

After creation, it will not yet be ready to use. You must initiate setup by calling startConnection(InstallReferrerStateListener) and wait for setup to complete.

Returns
InstallReferrerClient InstallReferrer instance

Throws
IllegalArgumentException if Context were not set.