ObjectDiagnosticsSession Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ObjectDiagnosticsSession(ObjectObserver, UInt32) |
Creates a diagnostics session. Images from the photo/video and depth cameras will not be captured. |
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.
public:
ObjectDiagnosticsSession(Microsoft::Azure::ObjectAnchors::ObjectObserver ^ observer, System::UInt32 maxSessionSizeInMegaBytes);
public ObjectDiagnosticsSession (Microsoft.Azure.ObjectAnchors.ObjectObserver observer, uint maxSessionSizeInMegaBytes);
new Microsoft.Azure.ObjectAnchors.Diagnostics.ObjectDiagnosticsSession : Microsoft.Azure.ObjectAnchors.ObjectObserver * uint32 -> Microsoft.Azure.ObjectAnchors.Diagnostics.ObjectDiagnosticsSession
Public Sub New (observer As ObjectObserver, maxSessionSizeInMegaBytes As UInteger)
Parameters
- observer
- ObjectObserver
Object observer.
- maxSessionSizeInMegaBytes
- UInt32
Maximum session size in megabytes.
Applies to
ObjectDiagnosticsSession(IntPtr, Boolean)
protected ObjectDiagnosticsSession (IntPtr ahandle, bool transfer);
new Microsoft.Azure.ObjectAnchors.Diagnostics.ObjectDiagnosticsSession : nativeint * bool -> Microsoft.Azure.ObjectAnchors.Diagnostics.ObjectDiagnosticsSession
Protected Sub New (ahandle As IntPtr, transfer As Boolean)
Parameters
- ahandle
-
IntPtr
nativeint
- transfer
- Boolean
Applies to
ObjectDiagnosticsSession(ObjectObserver, UInt32, ObjectDiagnosticsImageKind)
Creates a diagnostics session.
public ObjectDiagnosticsSession (Microsoft.Azure.ObjectAnchors.ObjectObserver observer, uint maxSessionSizeInMegaBytes, Microsoft.Azure.ObjectAnchors.Diagnostics.ObjectDiagnosticsImageKind imageKinds);
new Microsoft.Azure.ObjectAnchors.Diagnostics.ObjectDiagnosticsSession : Microsoft.Azure.ObjectAnchors.ObjectObserver * uint32 * Microsoft.Azure.ObjectAnchors.Diagnostics.ObjectDiagnosticsImageKind -> Microsoft.Azure.ObjectAnchors.Diagnostics.ObjectDiagnosticsSession
Public Sub New (observer As ObjectObserver, maxSessionSizeInMegaBytes As UInteger, imageKinds As ObjectDiagnosticsImageKind)
Parameters
- observer
- ObjectObserver
Object observer.
- maxSessionSizeInMegaBytes
- UInt32
Maximum session size in megabytes.
- imageKinds
- ObjectDiagnosticsImageKind
Image kinds to be captured.