Java Code Examples for com.flurry.android.FlurryAgent#addOrigin()
The following examples show how to use
com.flurry.android.FlurryAgent#addOrigin() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FlurryModule.java From react-native-flurry-sdk with Apache License 2.0 | 6 votes |
@ReactMethod public void build(String apiKey) { FlurryAgent.addOrigin(ORIGIN_NAME, ORIGIN_VERSION); Context context = getCurrentActivity(); if (context == null) { context = getReactApplicationContext(); } mFlurryAgentBuilder .withListener(new FlurryAgentListener() { @Override public void onSessionStarted() { } }) .withSessionForceStart(true) .build(context, apiKey); }
Example 2
Source File: FlurryModule.java From react-native-flurry-sdk with Apache License 2.0 | 4 votes |
@ReactMethod public void addOrigin(String originName, String originVersion) { FlurryAgent.addOrigin(originName, originVersion); }
Example 3
Source File: FlurryModule.java From react-native-flurry-sdk with Apache License 2.0 | 4 votes |
@ReactMethod public void addOriginParams(String originName, String originVersion, final ReadableMap originParameters) { FlurryAgent.addOrigin(originName, originVersion, toMap(originParameters)); }