Indicates an API is part of a feature that is guarded by an aconfig flag, and only available if the flag is enabled.

Unless the API has been finalized and has become part of the SDK, callers of the annotated API must check that the flag is enabled before making any assumptions about the existence of the API.

Summary

Public constructors

android

Public properties

String

The string value for the aconfig flag used to guard the feature this API is part of, for example "android.os.flags.my_feature".

android

Public constructors

RequiresFlag

RequiresFlag(value: String)

Public properties

value

val valueString

The string value for the aconfig flag used to guard the feature this API is part of, for example "android.os.flags.my_feature".