Class MovementDetectionConfiguration

Definition

Namespace:
Tizen.Multimedia.Vision
Assembly:
Tizen.Multimedia.Vision.dll

Represents a configuration of MovementDetector.

C#
Copy
public class MovementDetectionConfiguration : SurveillanceEngineConfiguration, IDisposable
Inheritance
object
MovementDetectionConfiguration
Implements
System.IDisposable

Constructors

View Source

MovementDetectionConfiguration()

Initializes a new instance of the MovementDetectionConfiguration class.

Declaration
C#
Copy
public MovementDetectionConfiguration()
Exceptions
Type Condition
System.NotSupportedException

The required features are not supported.

Fields

View Source

DefaultThreshold

A read-only field that represents the default value of Threshold.

Declaration
C#
Copy
public static readonly int DefaultThreshold
Field Value
Type Description
int

Properties

View Source

Threshold

Gets or sets movement detection threshold.
This value might be set before subscription on Detected event to specify the sensitivity of the movement detector.

Declaration
C#
Copy
public int Threshold { get; set; }
Property Value
Type Description
int

The value indicating the sensitivity of MovementDetector from 0 to 255 inclusive, where 255 means that no movements will be detected and 0 means that all frame changes will be interpreted as movements.
The default is 10.

Exceptions
Type Condition
System.ObjectDisposedException

The MovementDetectionConfiguration already has been disposed of.

System.ArgumentOutOfRangeException

value is less than zero.
-or-
value is greater than 255.

Implements

System.IDisposable