Class MovementDetector
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
- API Level:
- 4
- Feature:
- http://tizen.org/feature/vision.face_recognitionhttp://tizen.org/feature/vision.image_recognition
Provides the ability to detect movement on image sources.
C#Copypublic class MovementDetector : SurveillanceEngine, IDisposable
- Inheritance
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic MovementDetector()
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The required features are not supported. |
API Level: 4
Methods
Declaration
C#Copypublic void AddSource(SurveillanceSource source)
Parameters
Type | Name | Description |
---|---|---|
SurveillanceSource | source | The source used for recognition. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ObjectDisposedException | The MovementDetector has already been disposed of. |
API Level: 4
View Source
AddSource(SurveillanceSource, MovementDetectionConfiguration)
Adds SurveillanceSource with the provided MovementDetectionConfiguration.
Declaration
C#Copypublic void AddSource(SurveillanceSource source, MovementDetectionConfiguration config)
Parameters
Type | Name | Description |
---|---|---|
SurveillanceSource | source | The source used for recognition. |
MovementDetectionConfiguration | config | The config for the |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
|
ObjectDisposedException | The MovementDetector has already been disposed of. |
API Level: 4
Events
Declaration
C#Copypublic event EventHandler<MovementDetectedEventArgs> Detected
Event Type
Type | Description |
---|---|
System.EventHandler<MovementDetectedEventArgs> |
Remarks
The event handler will be executed on an internal thread.
API Level: 4
Implements
System.IDisposable