-
@Deprecated() public class ReferralManager
-
-
Field Summary
Fields Modifier and Type Field Description private static volatile ReferralManagerinstance
-
Method Summary
Modifier and Type Method Description static ReferralManagergetInstance()Getter for the referral manager. voidstartReferral(Activity activity)Open the referral dialog. voidstartReferral(Fragment fragment)Open the referral dialog. voidstartReferral(Fragment fragment)Open the referral dialog. voidstartReferral(FragmentWrapper fragment)Open the referral dialog. voidregisterCallback(CallbackManager callbackManager, FacebookCallback<ReferralResult> callback)Registers a referral callback to the given callback manager. -
-
Method Detail
-
getInstance
static ReferralManager getInstance()
Getter for the referral manager.
-
startReferral
void startReferral(Activity activity)
Open the referral dialog.
- Parameters:
activity- The activity which is starting the referral process.
-
startReferral
void startReferral(Fragment fragment)
Open the referral dialog.
- Parameters:
fragment- The android.support.v4.app.Fragment which is starting the referral process.
-
startReferral
void startReferral(Fragment fragment)
Open the referral dialog.
- Parameters:
fragment- The android.app.Fragment which is starting the referral process.
-
startReferral
void startReferral(FragmentWrapper fragment)
Open the referral dialog.
- Parameters:
fragment- The fragment which is starting the referral process.
-
registerCallback
void registerCallback(CallbackManager callbackManager, FacebookCallback<ReferralResult> callback)
Registers a referral callback to the given callback manager.
- Parameters:
callbackManager- The callback manager that will encapsulate the callback.callback- The referral callback that will be called on referral completion.
-
-
-
-