IMediaPlayer Interface |  |
Represents an interface, that provides access to the media player.
Media player is responsible for playback functionality.
Namespace: Bosch.Vms.CameoSdkAssembly: Bosch.Vms.CameoSdk (in Bosch.Vms.CameoSdk.dll) Version: 1.6.0.0
Syntaxpublic interface IMediaPlayer : IDisposable
The IMediaPlayer type exposes the following members.
Properties
Methods| | Name | Description |
|---|
 | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable) |
 | Pause |
Pause playback.
|
 | Play |
Start play.
|
  | Step |
Go to the next/previous frame.
|
Top
Events
Remarks
A single media player can be created and associated with several
IVideoCameoControl, in this case
all associated controls will be synchronized (by
CurrentPosition).
To release the allocated resources the
Dispose method of the
IMediaPlayer must be called as soon
as the application has finished using the
IMediaPlayer. For example when all
Control instances
of the
IVideoCameoControl, which were created by the
CreatePlaybackCameoControl(IMediaPlayer) method,
get disposed then the associated
IMediaPlayer instance must be disposed.
Otherwise it can lead to a memory leak or other unexpected behavior.
See Also