Skip to content

Instantly share code, notes, and snippets.

@flurrydev
Created September 16, 2019 23:30
Show Gist options
  • Select an option

  • Save flurrydev/f107eec1aae0b14a4dd27ac1e255a824 to your computer and use it in GitHub Desktop.

Select an option

Save flurrydev/f107eec1aae0b14a4dd27ac1e255a824 to your computer and use it in GitHub Desktop.
public void openPrivacyDashboard() {
TestApplication.getInstance().startFlurryAgent();
final FlurryPrivacySession.Callback callback = new FlurryPrivacySession.Callback() {
@Override
public void success() {
Log.d(TAG, "Privacy Dashboard opened successfully");
}
@Override
public void failure() {
Log.d(TAG, "Opening Privacy Dashboard failed");
}
};
final FlurryPrivacySession.Request request = new FlurryPrivacySession.Request(getApplicationContext(), callback);
FlurryAgent.openPrivacyDashboard(request);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment