Compartir a través de


ObjectDiagnosticsSession Class

Definition

Diagnostics object that captures observer input, output and internal states.

public ref class ObjectDiagnosticsSession
public class ObjectDiagnosticsSession
type ObjectDiagnosticsSession = class
Public Class ObjectDiagnosticsSession
Inheritance
ObjectDiagnosticsSession

Constructors

ObjectDiagnosticsSession(IntPtr, Boolean)
ObjectDiagnosticsSession(ObjectObserver, UInt32, ObjectDiagnosticsImageKind)

Creates a diagnostics session.

ObjectDiagnosticsSession(ObjectObserver, UInt32)

Creates a diagnostics session. Images from the photo/video and depth cameras will not be captured.

Methods

CloseAsync(String)

Closes this session to stop collecting diagnostics. A closed session should be considered as dead thus its state is invalid.

Finalize()

Finalizes an instance of the ObjectDiagnosticsSession class.

ReportActualInstanceLocation(ObjectInstance, SpatialGraphCoordinateSystem, Vector3, Quaternion)

Report actual instance location provided by the application.

UploadDiagnosticsAsync(String, ObjectAnchorsSession)

Uploads diagnostics to the Azure Object Anchors service and returns the job status. Throws exception on invalid diagnostics package or incorrect account credentials.

Applies to