SKAbstractManagedStream.OnSeek(IntPtr) Method

Definition

Implemented by derived SKAbstractManagedStream types to seek to an absolute position.

protected abstract bool OnSeek (IntPtr position);

Parameters

position
IntPtr

The absolute position.

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