BuildConfigField
class BuildConfigField<T : Serializable> : 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
Public properties
comment
val comment: String?
Optional field comment that will be added to the generated source file or null if no comment is necessary.
value
val value: T
Value of the generated field. If type
is String
, then value
should include quotes.