com.google.android.gms.common.api.Api.ApiOptions.NoOptions Java Examples

The following examples show how to use com.google.android.gms.common.api.Api.ApiOptions.NoOptions. 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: FirebaseDynamicLinksImpl.java    From firebase-android-sdk with Apache License 2.0 6 votes vote down vote up
@VisibleForTesting
public FirebaseDynamicLinksImpl(
    GoogleApi<NoOptions> googleApi, @Nullable AnalyticsConnector analytics) {
  this.googleApi = googleApi;
  this.analytics = analytics;

  if (analytics == null) {
    // b/34217790: Try to get an instance of Analytics. This initializes Google Analytics
    // if it is set up for the app, which sets up the association for the app and package name,
    // allowing GmsCore to log FDL events on behalf of the app.

    // AppMeasurement was not found. This probably means that the app did not include
    // the FirebaseAnalytics dependency.
    Log.w(
        TAG,
        "FDL logging failed. Add a dependency for Firebase Analytics"
            + " to your app to enable logging of Dynamic Link events.");
  }
}
 
Example #2
Source File: DynamicLinksApi.java    From firebase-android-sdk with Apache License 2.0 5 votes vote down vote up
@Override
public DynamicLinksClient buildClient(
    Context context,
    Looper looper,
    ClientSettings commonSettings,
    NoOptions apiOptions,
    ConnectionCallbacks connectedListener,
    OnConnectionFailedListener connectionFailedListener) {
  return new DynamicLinksClient(
      context, looper, commonSettings, connectedListener, connectionFailedListener);
}
 
Example #3
Source File: GameHelper.java    From dice-heroes with GNU General Public License v3.0 4 votes vote down vote up
/**
 * Sets the options to pass when setting up the AppState API. Call before
 * setup().
 */
public void setAppStateApiOptions(NoOptions options) {
    doApiOptionsPreCheck();
    mAppStateApiOptions = options;
}
 
Example #4
Source File: GameHelper.java    From martianrun with Apache License 2.0 4 votes vote down vote up
/**
 * Sets the options to pass when setting up the AppState API. Call before
 * setup().
 */
public void setAppStateApiOptions(NoOptions options) {
    doApiOptionsPreCheck();
    mAppStateApiOptions = options;
}
 
Example #5
Source File: GameHelper.java    From ColorPhun with Apache License 2.0 4 votes vote down vote up
/**
 * Sets the options to pass when setting up the AppState API. Call before
 * setup().
 */
public void setAppStateApiOptions(NoOptions options) {
    doApiOptionsPreCheck();
    mAppStateApiOptions = options;
}
 
Example #6
Source File: GameHelper.java    From Onesearch with MIT License 4 votes vote down vote up
/**
 * Sets the options to pass when setting up the AppState API. Call before
 * setup().
 */
public void setAppStateApiOptions(NoOptions options) {
    doApiOptionsPreCheck();
    mAppStateApiOptions = options;
}
 
Example #7
Source File: GameHelper.java    From tedroid with Apache License 2.0 4 votes vote down vote up
/**
 * Sets the options to pass when setting up the AppState API. Call before
 * setup().
 */
public void setAppStateApiOptions(NoOptions options) {
    doApiOptionsPreCheck();
    mAppStateApiOptions = options;
}
 
Example #8
Source File: GameHelper.java    From cordova-google-play-games-services with MIT License 4 votes vote down vote up
/**
 * Sets the options to pass when setting up the AppState API. Call before
 * setup().
 */
public void setAppStateApiOptions(NoOptions options) {
    doApiOptionsPreCheck();
    mAppStateApiOptions = options;
}