Stay organized with collections Save and categorize content based on your preferences.

BuildConfigField

class BuildConfigField<T : Serializable?>


Field definition for the generated BuildConfig class.

The field is generated as: = ;

Summary

Public constructors

<T : Serializable?> BuildConfigField(type: String?, value: T?, comment: String?)

Public properties

String?

Optional field comment that will be added to the generated source file or null if no comment is necessary.

String

Value to be written as BuildConfig field type.

T

Value of the generated field.

Public constructors

BuildConfigField

<T : Serializable?> BuildConfigField(type: String?, value: T?, comment: String?)

Public properties

comment

val commentString?

Optional field comment that will be added to the generated source file or null if no comment is necessary.

type

val typeString

Value to be written as BuildConfig field type.

value

val value: T

Value of the generated field. If type is String, then value should include quotes.