SKStream.Seek(Int32) Method

Definition

Seeks to an absolute position in the stream.

public bool Seek (int position);

Parameters

position
Int32

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 will be set to the closest point within the stream (beginning or end).

Applies to