Edit

SKStream.Move Method

Definition

Overloads

Name Description
Move(Int32)

Seeks to an relative offset in the stream.

Move(Int64)
Obsolete.

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

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)

Caution

The native stream move offset is capped at a 32-bit int. Use Move(int) instead.

Seeks to an relative offset in the stream.

[System.Obsolete("The native stream move offset is capped at a 32-bit int. Use Move(int) instead.")]
public bool Move(long offset);

Parameters

offset
Int64

The relative offset.

Returns

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

Attributes

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