UserStyleSetting.CustomValueUserStyleSetting.CustomValueOption

public final class UserStyleSetting.CustomValueUserStyleSetting.CustomValueOption extends UserStyleSetting.Option


An application specific custom value. NB the CustomValueOption.customValue is the same as the CustomValueOption.id.

Summary

Public fields

final @NonNull byte[]
final @NonNull UserStyleSetting.Option.Id

Machine readable Id for the style setting.

Public constructors

CustomValueOption(@NonNull byte[] customValue)

Constructs a CustomValueOption.

Inherited methods

From class UserStyleSetting.Option
boolean
int
@NonNull String

Public fields

customValue

@NonNull
public final @NonNull byte[] customValue

id

@NonNull
public final @NonNull UserStyleSetting.Option.Id id

Machine readable Id for the style setting. Identifier for the option (or the option itself for CustomValueUserStyleSetting.CustomValueOption), must be unique within the UserStyleSetting. Short ids are encouraged.

Public constructors

CustomValueOption

public final CustomValueOption(@NonNull byte[] customValue)

Constructs a CustomValueOption.

Parameters
@NonNull byte[] customValue

The ByteArray and value of this CustomValueOption. This may not exceed Id.MAX_LENGTH.