IMESampleCursor.RefineSampleLocation 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
| Name | Description |
|---|---|
| RefineSampleLocation(AVSampleCursorStorageRange, Byte[], AVSampleCursorStorageRange, NSError) |
Compute an exact sample location based on data returned from GetEstimatedSampleLocation(NSError). |
| RefineSampleLocation(AVSampleCursorStorageRange, Byte*, UIntPtr, AVSampleCursorStorageRange, NSError) |
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.
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