ESTSettingDeviceInfoColor

@interface ESTSettingDeviceInfoColor : ESTSettingReadOnly <NSCopying>

ESTSettingDeviceInfoColor represents DeviceInfo Color value.

  • Designated initializer. Validates provided value internally with +validationErrorForValue:.

    See

    +[ESTSettingDeviceInfoColor validationErrorForValue:]

    Declaration

    Objective-C

    - (nonnull instancetype)initWithValue:(ESTColor)color;

    Swift

    init(value color: ESTColor)

    Parameters

    Color

    DeviceInfo Color value.

    Return Value

    Initialized object. Nil if validation fails.

  • Returns current value of DeviceInfo Color setting.

    Declaration

    Objective-C

    - (ESTColor)getValue;

    Swift

    func getValue() -> ESTColor

    Return Value

    DeviceInfo Color value.

  • Method allows to read value of initialized DeviceInfo Color setting object.

    Declaration

    Objective-C

    - (void)readValueWithCompletion:
        (nonnull ESTSettingDeviceInfoColorCompletionBlock)completion;

    Swift

    func readValue(completion: @escaping ESTSettingDeviceInfoColorCompletionBlock)

    Parameters

    completion

    Block to be invoked when operation is complete.

    Return Value

    Initialized operation object.