AugmentedReality


super: UIView (on iOS)

Augmented reality is the integration of digital information with the user's environment in real time. Unlike virtual reality, which creates a totally artificial environment, augmented reality uses the existing environment and overlays new information on top of it. CREO offers a built-in and ready to use control to easely add Augmented reality capabilities to your app.

Events

  • Load() This event is called when the object becames available in the current runtime system.

  • LocationDidChange(location: Location) This event is called when the current location changes.

  • DidReload() This event is called when the dataSet of the table completes a reload.

  • Unload() This event is called when the object has been removed from the current runtime system (but not yet deallocated).

Properties

  • var radius: Float Defines the distance (in meters) within which to ask to the datasource for markers (default 1000).

  • var latitude: Float The latitude currenly used by the control. (read-only)

  • var longitude: Float The longitude currenly used by the control. (read-only)

  • var radarPosition: Point Radar position inside the control.

  • var showRadar: Bool A Boolean indicating whether the augmented reality control displays radar information.

  • var isRunning: Bool A Boolean value indicating whether the control is running. (read-only)

  • var angleOfView: Size The angle of view of the device. (read-only)

  • var keyPath: String The base keyPath to get a particular node of the DataSet value. The DataSet must provide a List of objects and each object represents a different marker. If the DataSet value is not flat, for example a Map from a JSON result of an HTTPRequest, the keyPath defines the list of keys used to browse the data tree to get a List node. The values for each exposed property of the cell are retrieved by adding the current index and the cell property key to the base keyPath.

  • var objectName: String The name of the object.

Methods

  • func start() Start processing DataSet data.

  • func stop() Stop execution.

  • func pause() Pause execution.