Class MovementDetector
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Provides the ability to detect movement on image sources.
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public class MovementDetector : SurveillanceEngine, IDisposable
- Inheritance
- Implements
Constructors
View SourceMovementDetector()
Initializes a new instance of the MovementDetector class.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public MovementDetector()
Exceptions
| Type | Condition |
|---|---|
| NotSupportedException | The required features are not supported. |
Methods
View SourceAddSource(SurveillanceSource)
Adds SurveillanceSource.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public 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. |
AddSource(SurveillanceSource, MovementDetectionConfiguration)
Adds SurveillanceSource with the provided MovementDetectionConfiguration.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public 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. |
Events
View SourceDetected
Occurs when the movement detected.
Declaration
[Obsolete("Deprecated since API12. Will be removed in API15.")]
public event EventHandler<MovementDetectedEventArgs> Detected
Event Type
| Type | Description |
|---|---|
| EventHandler<MovementDetectedEventArgs> |
Remarks
The event handler will be executed on an internal thread.