CBLPropertyValue
Objective-C
@protocol CBLPropertyValue <NSObject>
Swift
protocol PropertyValue : NSObjectProtocol
A property value. This could either be the current value of a property, or something in the list of values that can be set.
-
The common value that this value matches, or
CBLPropertyCommonValueNone
if it doesn’t match any common value.Declaration
Objective-C
@property (nonatomic, readonly) CBLPropertyCommonValue commonValue;
Swift
var commonValue: PropertyCommonValue { get }
-
A localized display value for the value. May be
nil
if the value is unknown to CascableCore and a display value is not provided by the camera.Declaration
Objective-C
@property (nonatomic, copy, readonly, nullable) NSString *localizedDisplayValue;
Swift
var localizedDisplayValue: String? { get }
-
A string value for the value. Will always return something, but the quality is not guaranteed — particularly if the value is unknown to CascableCore and a display value is not provided by the camera.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSString *stringValue;
Swift
var stringValue: String { get }
-
An opaque value representing the property. Not guaranteed to be anything in particular, as this is an internal implementation detail for each particular camera.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) id opaqueValue;
Swift
var opaqueValue: Any { get }