CBLLiveViewZoomLevelPropertyValue
Objective-C
@protocol CBLLiveViewZoomLevelPropertyValue <CBLPropertyValue>
Swift
protocol LiveViewZoomLevelPropertyValue : PropertyValue
A property value that represents a live view zoom level.
-
Returns
YES
if the value represents a “zoomed in” value, otherwiseNO
.Declaration
Objective-C
@property (nonatomic, readonly) BOOL isZoomedIn;
Swift
var isZoomedIn: Bool { get }
-
Returns a numeric zoom factor. These values aren’t neccessarily consistent between camera manufacturers or even models, but they will get larger the more zoomed in the value is - it’s useful for sorting. There are two special values: no zoom is
1.0
, and an unknown zoom factor is0.0
.Declaration
Objective-C
@property (nonatomic, readonly) double zoomFactor;
Swift
var zoomFactor: Double { get }