SKStream.Move Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).