Packagecom.myflashlab.air.extensions.ar
Classpublic class ConfigIos
InheritanceConfigIos Inheritance Object

ConfigIos holds iOS specific settings you may like to configure before starting the camera. You must access the properties in this class only through _arSettings.ios... where _arSettings is an instance of Config class as follow: var _arSettings:Config = new Config();



Public Properties
 PropertyDefined By
  camFocusDistance : Number
The capture device focus distance that should be used when the SDK starts.
ConfigIos
  camFocusRange : int
Indicates the capture device focus range restriction that should be used when the SDK starts.
ConfigIos
  excludeBinnedVideo : Boolean
Per default the Wikitude SDK would not consider capture device formats that are binned.
ConfigIos
  framerate : int
The target frame rate at which the SDK should run.
ConfigIos
Property Detail
camFocusDistanceproperty
camFocusDistance:Number

The capture device focus distance that should be used when the SDK starts. In case the focus distance is not supported by the current device, then a default focus distance is used.

Setting the focus distance is only supported since iOS 10. All devices with a lower iOS version will use the default focus distance.

Default value is -1.0


Implementation
    public function get camFocusDistance():Number
    public function set camFocusDistance(value:Number):void
camFocusRangeproperty 
camFocusRange:int

Indicates the capture device focus range restriction that should be used when the SDK starts. If the given focus range restriction is not supported by the current device, then this property is ignored. The default value is FocusRange.NONE

Please refer to the official AVCaptureAutoFocusRangeRestriction documentation for more information.


Implementation
    public function get camFocusRange():int
    public function set camFocusRange(value:int):void
excludeBinnedVideoproperty 
excludeBinnedVideo:Boolean

Per default the Wikitude SDK would not consider capture device formats that are binned. Binned videos have a pixel dimension of the given format, but the actual content might have a lower resolution. The content is then upscaled to fill the actual format dimension. This upscaling leads then to rendering artifacts in the camera image. If this limitation should be disabled, this property can be set to false. The default value is true.


Implementation
    public function get excludeBinnedVideo():Boolean
    public function set excludeBinnedVideo(value:Boolean):void
framerateproperty 
framerate:int

The target frame rate at which the SDK should run. If the given frame rate can not be applied for the current device, the default value, 30, will be used.


Implementation
    public function get framerate():int
    public function set framerate(value:int):void