AVCaptureAncillaryDataEncoder.SetRdd18AncillaryData 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 |
|---|---|
| SetRdd18AncillaryData(NSData, UInt16, NSError) |
Associates binary ancillary data with a SMPTE RDD 18 tag. |
| SetRdd18AncillaryData(String, UInt16, NSError) |
Associates a string to encode as ancillary data with a SMPTE RDD 18 tag. |
SetRdd18AncillaryData(NSData, UInt16, NSError)
Associates binary ancillary data with a SMPTE RDD 18 tag.
[Foundation.Export("setRDD18AncillaryData:forTag:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool SetRdd18AncillaryData(Foundation.NSData data, ushort tag, out Foundation.NSError? error);
[<Foundation.Export("setRDD18AncillaryData:forTag:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetRdd18AncillaryData : Foundation.NSData * uint16 * NSError -> bool
override this.SetRdd18AncillaryData : Foundation.NSData * uint16 * NSError -> bool
Parameters
- data
- NSData
The data to encode.
- tag
- UInt16
A non-reserved SMPTE RDD 18 tag that supports binary data.
- error
- NSError
Receives the error if the data cannot be added.
Returns
true if the data was added; otherwise, false.
- Attributes
Applies to
SetRdd18AncillaryData(String, UInt16, NSError)
Associates a string to encode as ancillary data with a SMPTE RDD 18 tag.
[Foundation.Export("setRDD18AncillaryDataString:forTag:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool SetRdd18AncillaryData(string value, ushort tag, out Foundation.NSError? error);
[<Foundation.Export("setRDD18AncillaryDataString:forTag:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SetRdd18AncillaryData : string * uint16 * NSError -> bool
override this.SetRdd18AncillaryData : string * uint16 * NSError -> bool
Parameters
- value
- String
The string to encode.
- tag
- UInt16
A non-reserved SMPTE RDD 18 tag that supports string data.
- error
- NSError
Receives the error if the string cannot be added.
Returns
true if the string was added; otherwise, false.
- Attributes