Package com.cheetahdigital.referral.core
Class ReferralReceiver
- java.lang.Object
-
- android.content.BroadcastReceiver
-
- com.cheetahdigital.referral.core.ReferralReceiver
-
public class ReferralReceiver extends android.content.BroadcastReceiver
This receiver listens when the app is installed. If there's a referral code bundled in the app link, whether from an invitation link or Facebook's app invite, the code will be saved in the app's shared preferences. It can be accessed inReferralUtils.getCode()
Register this listener in the app's manifest.
-
-
Constructor Summary
Constructors Constructor Description ReferralReceiver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onReceive(android.content.Context context, android.content.Intent intent)
-
Methods inherited from class android.content.BroadcastReceiver
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
-
-