{% setvar book_path %}/android/reference/kotlin/_book.yaml{% endsetvar %} {% include "/android/_dackka-meta-tags.html" %}

HasApiKey

{% setvar page_path %}com/google/android/gms/common/api/HasApiKey.html{% endsetvar %} {% setvar doc_root_path %}/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_kotlin_switcher2.md" %}

interface HasApiKey<O : Api.ApiOptions?>

Known direct subclasses
GoogleApi

Base class for Google API entry points.

ModuleInstallClient

Interface for module install APIs.


Anything that has an ApiKey.

This is used to allow GoogleApi-based clients to be exposed via interface instead of subclass. Those interfaces can be declared as extending this, and GoogleApi's will automatically fulfill the interface.