RegisterStateChangedCallback();
}
+ /// <summary>
+ /// Finalizes an instance of the AudioCaptureBase class.
+ /// </summary>
~AudioCaptureBase()
{
Dispose(false);
RegisterStateChangedCallback();
}
+ /// <summary>
+ /// Finalizes an instance of the AudioPlayback class.
+ /// </summary>
~AudioPlayback()
{
Dispose(false);
}
/// <summary>
- /// Destructor of the camera class.
+ /// Finalizes an instance of the Camera class.
/// </summary>
~Camera()
{
}
}
+ /// <summary>
+ /// Finalizes an instance of the MediaCodec class.
+ /// </summary>
~MediaCodec()
{
Dispose(false);
Interop.MetadataEditor.RemovePicture(Handle, index).ThrowIfError("Failed to remove picture");
}
+ /// <summary>
+ /// Finalizes an instance of the MetadataEditor class.
+ /// </summary>
~MetadataEditor()
{
Dispose(false);
}
}
+ /// <summary>
+ /// Finalizes an instance of the MetadataExtractor class.
+ /// </summary>
~MetadataExtractor()
{
Dispose(false);
RegisterStateChangedEvent();
}
+ /// <summary>
+ /// Finalizes an instance of the ScreenMirroring class.
+ /// </summary>
~ScreenMirroring()
{
Dispose(false);
EngineConfig.Create(out _handle).Validate("Failed to create media vision engine.");
}
+ /// <summary>
+ /// Finalizes an instance of the EngineConfiguration class.
+ /// </summary>
~EngineConfiguration()
{
Dispose(false);
Validate("Failed to load FaceRecognitionModel from file");
}
+ /// <summary>
+ /// Finalizes an instance of the FaceRecognitionModel class.
+ /// </summary>
~FaceRecognitionModel()
{
Dispose(false);
InteropModel.Load(modelPath, out _handle).Validate("Failed to load FaceTrackingModel from file.");
}
+ /// <summary>
+ /// Finalizes an instance of the FaceTrackingModel class.
+ /// </summary>
~FaceTrackingModel()
{
Dispose(false);
InteropImage.Load(path, out _handle).Validate("Failed to load image object from file");
}
+ /// <summary>
+ /// Finalizes an instance of the ImageObject class.
+ /// </summary>
~ImageObject()
{
Dispose(false);
InteropModel.Load(modelPath, out _handle).Validate("Failed to load ImageTrackingModel from file");
}
+ /// <summary>
+ /// Finalizes an instance of the ImageTrackingModel class.
+ /// </summary>
~ImageTrackingModel()
{
Dispose(false);
{
}
+ /// <summary>
+ /// Finalizes an instance of the MediaVisionSource class.
+ /// </summary>
~MediaVisionSource()
{
Dispose(false);
}
}
+ /// <summary>
+ /// Releases all resources used by the current instance.
+ /// </summary>
public void Dispose()
{
Dispose(true);
EventTriggerCreate(eventType, out _handle).Validate("Failed to create surveillance event trigger.");
}
+ /// <summary>
+ /// Finalizes an instance of the SurveillanceEngine class.
+ /// </summary>
~SurveillanceEngine()
{
Dispose(false);
}
}
+ /// <summary>
+ /// Finalizes an instance of the MediaPacket class.
+ /// </summary>
~MediaPacket()
{
Dispose(false);