Package org.robovm.apple.avfoundation
Class AVSpeechUtterance
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.avfoundation.AVSpeechUtterance
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class AVSpeechUtterance extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 7.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AVSpeechUtterance.AVSpeechUtterancePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description AVSpeechUtterance()
AVSpeechUtterance(java.lang.String string)
AVSpeechUtterance(NSAttributedString string)
AVSpeechUtterance(NSCoder decoder)
protected
AVSpeechUtterance(NSObject.Handle h, long handle)
protected
AVSpeechUtterance(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encode(NSCoder coder)
NSAttributedString
getAttributedSpeechString()
static float
getDefaultSpeechRate()
static float
getMaximumSpeechRate()
static float
getMinimumSpeechRate()
float
getPitchMultiplier()
double
getPostUtteranceDelay()
double
getPreUtteranceDelay()
float
getRate()
java.lang.String
getSpeechString()
AVSpeechSynthesisVoice
getVoice()
float
getVolume()
protected long
init(java.lang.String string)
protected long
init(NSAttributedString string)
protected long
init(NSCoder decoder)
void
setPitchMultiplier(float v)
void
setPostUtteranceDelay(double v)
void
setPreUtteranceDelay(double v)
void
setRate(float v)
void
setVoice(AVSpeechSynthesisVoice v)
void
setVolume(float v)
static boolean
supportsSecureCoding()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
AVSpeechUtterance
public AVSpeechUtterance()
-
AVSpeechUtterance
protected AVSpeechUtterance(NSObject.Handle h, long handle)
-
AVSpeechUtterance
protected AVSpeechUtterance(NSObject.SkipInit skipInit)
-
AVSpeechUtterance
public AVSpeechUtterance(java.lang.String string)
-
AVSpeechUtterance
public AVSpeechUtterance(NSAttributedString string)
- Since:
- Available in iOS 10.0 and later.
-
AVSpeechUtterance
public AVSpeechUtterance(NSCoder decoder)
-
-
Method Detail
-
getVoice
public AVSpeechSynthesisVoice getVoice()
-
setVoice
public void setVoice(AVSpeechSynthesisVoice v)
-
getSpeechString
public java.lang.String getSpeechString()
-
getAttributedSpeechString
public NSAttributedString getAttributedSpeechString()
- Since:
- Available in iOS 10.0 and later.
-
getRate
public float getRate()
-
setRate
public void setRate(float v)
-
getPitchMultiplier
public float getPitchMultiplier()
-
setPitchMultiplier
public void setPitchMultiplier(float v)
-
getVolume
public float getVolume()
-
setVolume
public void setVolume(float v)
-
getPreUtteranceDelay
public double getPreUtteranceDelay()
-
setPreUtteranceDelay
public void setPreUtteranceDelay(double v)
-
getPostUtteranceDelay
public double getPostUtteranceDelay()
-
setPostUtteranceDelay
public void setPostUtteranceDelay(double v)
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
getMinimumSpeechRate
public static float getMinimumSpeechRate()
- Since:
- Available in iOS 7.0 and later.
-
getMaximumSpeechRate
public static float getMaximumSpeechRate()
- Since:
- Available in iOS 7.0 and later.
-
getDefaultSpeechRate
public static float getDefaultSpeechRate()
- Since:
- Available in iOS 7.0 and later.
-
init
protected long init(java.lang.String string)
-
init
protected long init(NSAttributedString string)
- Since:
- Available in iOS 10.0 and later.
-
init
protected long init(NSCoder decoder)
-
-