Click or drag to resize

IMediaPlayerStep Method

Go to the next/previous frame.

Namespace: Bosch.Vms.CameoSdk
Assembly: Bosch.Vms.CameoSdk (in Bosch.Vms.CameoSdk.dll) Version: 1.6.0.0
Syntax
C#
void Step()
Exceptions
ExceptionCondition
NoPermissionCameoSdkExceptionUser is not allowed to playback in a given time.
Remarks
Step direction depends on the Direction property state.
Steps the current position forward/backward - exactly for the one frame.
Example
C#
// Step forward example
public void StepForward(IMediaPlayer mediaPlayer)
{
    //set step direction
    mediaPlayer.Direction = PlaybackDirection.Forward;
    //actually perform step action
    mediaPlayer.Step();
}

// Step backward example
public void StepBackward(IMediaPlayer mediaPlayer)
{
    //set step direction
    mediaPlayer.Direction = PlaybackDirection.Backward;
    //actually perform step action
    mediaPlayer.Step();
}
See Also