Bearbeiten

Freigeben über


AVSpeechUtterance.FromString Method

Definition

Overloads

FromString(NSAttributedString)
FromString(String)

Factory method to create an AVSpeechUtterance for the speechString.

FromString(NSAttributedString)

[Foundation.Export("speechUtteranceWithAttributedString:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static AVFoundation.AVSpeechUtterance FromString (Foundation.NSAttributedString speechString);
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:")]
public static AVFoundation.AVSpeechUtterance FromString (string speechString);
static member FromString : string -> AVFoundation.AVSpeechUtterance

Parameters

speechString
String

Returns

Attributes

Applies to