Stay organized with collections
Save and categorize content based on your preferences.
Dtdi
class
Dtdi
Entry point for the DTDI API.
Summary
Companion functions
getClient
@JvmStatic
fun
getClient
(
context
:
Context
)
:
DtdiClient
Creates a new instance of DtdiClient
. System notifications may be generated if the calling
app goes into the background when this method is used and the system needs to prompt the user
to resolve some user recoverable errors (for example, if Google Play services needs to be
updated).
the Context
that is using this client
getClient
@JvmStatic
fun
getClient
(
activity
:
Activity
)
:
DtdiClient
Creates a new instance of DtdiClient
. A dialog may appear when the provided activity is in
the foreground and the system needs to prompt the user to resolve some user recoverable
errors (for example, if Google Play services needs to be updated).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["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 2024-10-31 UTC."],[],[]]