Stay organized with collections
Save and categorize content based on your preferences.
BuildTypes
annotation class BuildTypes
Summary
Constants
|
const Int |
Indicates that the client application using the D2DI SDK was built in debug mode.
|
const Int |
Indicates that the client application using the D2DI SDK was not built in debug mode.
|
const Int |
|
Constants
BUILD_TYPE_DEBUG
const val BUILD_TYPE_DEBUG: Int
Indicates that the client application using the D2DI SDK was built in debug mode. For
Android, this means android:debuggable="true" was set in the AndroidManifest.
Value: BuildType.BUILD_TYPE_DEBUG_VALUE
BUILD_TYPE_PROD
const val BUILD_TYPE_PROD: Int
Indicates that the client application using the D2DI SDK was not built in debug mode.
Value: BuildType.BUILD_TYPE_PROD_VALUE
BUILD_TYPE_UNKNOWN
const val BUILD_TYPE_UNKNOWN: Int
Value: BuildType.BUILD_TYPE_UNKNOWN_VALUE
Public constructors
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."],[[["`BuildTypes` is an annotation class used to indicate the build type of a client application using the D2DI SDK."],["It includes three constants: `BUILD_TYPE_DEBUG`, `BUILD_TYPE_PROD`, and `BUILD_TYPE_UNKNOWN`, representing debug, production, and unknown build types respectively."],["`BUILD_TYPE_DEBUG` signifies that the application was built with debugging enabled, while `BUILD_TYPE_PROD` indicates a non-debug build."],["`BUILD_TYPE_UNKNOWN` is used when the build type cannot be determined."]]],["`BuildTypes` defines constants representing the build status of an application using the D2DI SDK. `BUILD_TYPE_DEBUG` indicates a debug build, corresponding to `android:debuggable=\"true\"` in the Android manifest. `BUILD_TYPE_PROD` signifies a non-debug build. `BUILD_TYPE_UNKNOWN` is also defined. The class includes a constructor and the three integer constant values to indicate the state of the build type.\n"]]