Api.ApiOptions

Kotlin|Java

public interfaceApi.ApiOptions

Known direct subclasses
Api.ApiOptions.HasOptions

Base interface forApiOptions inApis that have options.

Api.ApiOptions.NotRequiredOptions

Base interface forApiOptions that are not required, don't exist.


Base interface for API options. These are used to configure specific parameters for individual API surfaces. The default implementation has no parameters.

Summary

Nested types

An interface forApiOptions that include an account.

An interface forApiOptions that includes aGoogleSignInAccount

Base interface forApiOptions inApis that have options.

ApiOptions implementation forApis that do not take any options.

Base interface forApiOptions that are not required, don't exist.

Base interface forApiOptions that are optional.

Constants

default static finalApi.ApiOptions.NoOptions

Static instance ofNoOptions.

Constants

NO_OPTIONS

default static final Api.ApiOptions.NoOptions NO_OPTIONS

Static instance ofNoOptions.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-03-17 UTC.