Share via


AVSpeechUtterance.FromString Method

Definition

Overloads

Name Description
FromString(NSAttributedString)
FromString(String)

Factory method to create an AVSpeechUtterance for the speechString.

FromString(NSAttributedString)

[Foundation.Export("speechUtteranceWithAttributedString:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AVFoundation.AVSpeechUtterance FromString(Foundation.NSAttributedString speechString);
[<Foundation.Export("speechUtteranceWithAttributedString:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromString : Foundation.NSAttributedString -> AVFoundation.AVSpeechUtterance

Parameters

speechString
NSAttributedString

Returns

Attributes

Applies to

FromString(String)

Factory method to create an AVSpeechUtterance for the speechString.

[Foundation.Export("speechUtteranceWithString:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AVFoundation.AVSpeechUtterance FromString(string speechString);
[<Foundation.Export("speechUtteranceWithString:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromString : string -> AVFoundation.AVSpeechUtterance

Parameters

speechString
String

Returns

Attributes

Applies to