Skip to main content

EXTENSION

ArdkSession

extension ArdkSession

Methods​

createDepthSession()​

public func createDepthSession() -> ArdkDepthSession

createDeviceMappingSession()​

public func createDeviceMappingSession() -> ArdkDeviceMappingSession

Creates a new Mapping session.

  • Returns: A new Device Mapping session attached to this ARDK session

createMapStorage()​

public func createMapStorage() -> ArdkMapStorage

createMeshDownloader()​

public func createMeshDownloader() -> ArdkMeshDownloader

Creates a new Mesh Downloader instance.

  • Returns: A new ArdkMeshDownloader attached to this ARDK session.

createMeshingSession()​

public func createMeshingSession() -> ArdkMeshingSession

Creates a new Meshing session.

  • Returns: A new Meshing session attached to this ARDK session

createObjectDetectionSession()​

public func createObjectDetectionSession() -> ArdkObjectDetectionSession

createRecordingExporter()​

public func createRecordingExporter() -> ArdkRecordingExporter

Creates a new Recording Exporter session.

Recording Export enables the conversion and export of saved scan recordings to various formats for external processing or sharing. This session manages the export workflow from scan selection through format conversion and output.

  • Returns: A new Recording Exporter session attached to this ARDK session

createScanningSession()​

public func createScanningSession() -> ArdkScanningSession

Creates a new Scanning session.

  • Returns: A new Scanning session attached to this ARDK session

createSemanticsSession()​

public func createSemanticsSession() -> ArdkSemanticsSession

Creates a new Semantics session.

Semantics enables pixel-level understanding of the environment by classifying objects and surfaces in camera images. This session manages semantic segmentation processing and provides access to semantic understanding results.

  • Returns: A new Semantics session attached to this ARDK session

Example​

let session = ArdkSession(apiKey: "your-api-key")
let semanticsSession = session.createSemanticsSession()

createSitesSession()​

public func createSitesSession() -> ArdkSitesSession

createVpsSession()​

public func createVpsSession() -> ArdkVpsSession

Creates a new VPS (Visual Positioning System) session.

  • Returns: A new VPS session attached to this ARDK session

createVpsCoverageSession()​

public func createVpsCoverageSession() -> ArdkVpsCoverageSession

Creates a new VPS Coverage session.

  • Returns: A new ArdkVpsCoverageSession instance attached to this ARDK session.

createWpsSession()​

public func createWpsSession() -> ArdkWpsSession

Creates a new World Positioning System (WPS) session.

  • Returns: A new WPS session attached to this ARDK session