SKAbstractManagedStream.OnMove(Int32) Method

Definition

Implemented by derived SKAbstractManagedStream types to seek to a relative offset.

protected abstract bool OnMove (int offset);

Parameters

offset
Int32

The relative offset.

Returns

Returns true if seeking is supported and the seek was successful, otherwise false.

Remarks

If an attempt is made to move to a position outside the stream, the position must be set to the closest point within the stream (beginning or end).

Applies to