Share via


IMESampleCursor.RefineSampleLocation Method

Definition

Overloads

RefineSampleLocation(AVSampleCursorStorageRange, Byte[], AVSampleCursorStorageRange, NSError)

Compute an exact sample location based on data returned from GetEstimatedSampleLocation(NSError).

public virtual bool RefineSampleLocation(AVFoundation.AVSampleCursorStorageRange estimatedSampleLocation, byte[] refinementData, out AVFoundation.AVSampleCursorStorageRange refinedLocation, out Foundation.NSError? error);
abstract member RefineSampleLocation : AVFoundation.AVSampleCursorStorageRange * byte[] * AVSampleCursorStorageRange * NSError -> bool
override this.RefineSampleLocation : AVFoundation.AVSampleCursorStorageRange * byte[] * AVSampleCursorStorageRange * NSError -> bool

Parameters

estimatedSampleLocation
AVSampleCursorStorageRange

The estimated sample location returned from GetEstimatedSampleLocation(NSError).

refinementData
Byte[]

The refinement data returned from GetEstimatedSampleLocation(NSError).

refinedLocation
AVSampleCursorStorageRange

Upon return, the exact location of the sample.

error
NSError

Upon return, null if successful, otherwise an NSError instance for the error.

Returns

True if successful, false otherwise.

Applies to

RefineSampleLocation(AVSampleCursorStorageRange, Byte*, UIntPtr, AVSampleCursorStorageRange, NSError)

[Foundation.Export("refineSampleLocation:refinementData:refinementDataLength:refinedLocation:error:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool RefineSampleLocation(AVFoundation.AVSampleCursorStorageRange estimatedSampleLocation, byte* refinementData, UIntPtr refinementDataLength, out AVFoundation.AVSampleCursorStorageRange refinedLocation, out Foundation.NSError? error);
[<Foundation.Export("refineSampleLocation:refinementData:refinementDataLength:refinedLocation:error:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member RefineSampleLocation : AVFoundation.AVSampleCursorStorageRange * nativeptr<byte> * unativeint * AVSampleCursorStorageRange * NSError -> bool
override this.RefineSampleLocation : AVFoundation.AVSampleCursorStorageRange * nativeptr<byte> * unativeint * AVSampleCursorStorageRange * NSError -> bool

Parameters

estimatedSampleLocation
AVSampleCursorStorageRange
refinementData
Byte*
refinementDataLength
UIntPtr

unativeint

refinedLocation
AVSampleCursorStorageRange
error
NSError

Returns

Attributes

Applies to