Adds a usage attribution ID to the initializer, which helps Google understand which libraries
and samples are helpful to developers, such as usage of a UI framework support library.
Inherited Method Summary
From class
java.lang.Object
boolean
equals(Object arg0)
final
Class<?>
getClass()
int
hashCode()
final
void
notify()
final
void
notifyAll()
String
toString()
final
void
wait(long arg0, int arg1)
final
void
wait(long arg0)
final
void
wait()
Public Methods
public
static
void
addInternalUsageAttributionId(Context context, String internalUsageAttributionId)
Adds a usage attribution ID to the initializer, which helps Google understand which libraries
and samples are helpful to developers, such as usage of a UI framework support library. To opt
out of sending the usage attribution ID, it is safe to delete this function call or replace the
value with an empty string.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["public final class **MapsApiSettings** extends Object \nProvides entry points for adding configuration to the Maps API. \n\nPublic Method Summary\n\n|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static void | [addInternalUsageAttributionId](/maps/documentation/navigation/android-sdk/reference/com/google/android/gms/maps/MapsApiSettings#addInternalUsageAttributionId(android.content.Context,%20java.lang.String))(Context context, String internalUsageAttributionId) Adds a usage attribution ID to the initializer, which helps Google understand which libraries and samples are helpful to developers, such as usage of a UI framework support library. |\n\nInherited Method Summary \nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods \n\npublic static void\n**addInternalUsageAttributionId**\n(Context context, String internalUsageAttributionId) \nAdds a usage attribution ID to the initializer, which helps Google understand which libraries\nand samples are helpful to developers, such as usage of a UI framework support library. To opt\nout of sending the usage attribution ID, it is safe to delete this function call or replace the\nvalue with an empty string. \n\nParameters\n\n| context | Required context. Must not be `null`. |\n| internalUsageAttributionId | The internal usage attribution ID to add. |\n|----------------------------|-------------------------------------------|"]]