BB FlashBack SDK: FBPlayer

OnPause

Description

This event handler is called when the movie has been paused.

Syntax

[C#/C++]
protected virtual void OnPause(int frameNum)

[VB.NET]
Protected Overridable Sub OnPause(ByVal FrameNum As Integer)

Parameter Description
FrameNum The frame of the movie where the pause occurred.

Remarks

The OnPause event can be used in tandem with custom pauses set using the SetUserPause method. This makes advanced movie navigation possible.

For instance, instead of periodically polling the various player properties to determine if a movie has finished playing, set a custom pause at the last frame of the movie, and wait for that marker using the OnPause event.

See Also

OnLoading event, SetUserPause method, LoadFile method, Play> method