MonobjcMonobjc Documented Class Library
StartSpeakingStringToURL Method (text, url)
NamespacesMonobjc.AppKitNSSpeechSynthesizerStartSpeakingStringToURL(NSString, NSURL)

Begins synthesizing text into a sound (AIFF) file.

Original signature is '- (BOOL)startSpeakingString:(NSString *)text toURL:(NSURL *)url'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool StartSpeakingStringToURL(
	NSString text,
	NSURL url
)
Public Overridable Function StartSpeakingStringToURL ( _
	text As NSString, _
	url As NSURL _
) As Boolean
public:
virtual bool StartSpeakingStringToURL(
	NSString^ text, 
	NSURL^ url
)
Parameters
text (NSString)
Text to speak. When nil or empty, no synthesis is started.
url (NSURL)
Filesystem location of the output sound file.
Return Value
YES when synthesis starts successfully, NO otherwise.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)