Bearbeiten

Freigeben über


SKStream.Move Method

Definition

Overloads

Move(Int32)

Seeks to an relative offset in the stream.

Move(Int64)

Seeks to an relative offset in the stream.

Move(Int32)

Seeks to an relative offset in the stream.

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

Applies to

Move(Int64)

Seeks to an relative offset in the stream.

public bool Move (long offset);

Parameters

offset
Int64

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

Applies to