NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
AVAudioPlayer(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static AVAudioPlayer |
alloc() |
static AVAudioPlayer |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
float |
averagePowerForChannel(long channelNumber)
returns average power in decibels for a given channel
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
NSArray<? extends AVAudioSessionChannelDescription> |
channelAssignments()
Array of AVAudioSessionChannelDescription objects
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
double |
currentTime()
If the sound is playing, currentTime is the offset into the sound of the current playback position.
|
NSData |
data()
returns nil if object was not created with a data object
|
static java.lang.String |
debugDescription_static() |
AVAudioPlayerDelegate |
delegate()
the delegate will be sent messages from the AVAudioPlayerDelegate protocol
|
static java.lang.String |
description_static() |
double |
deviceCurrentTime()
returns the current time associated with the output device
|
double |
duration()
the duration of the sound.
|
boolean |
enableRate()
You must set enableRate to YES for the rate property to take effect.
|
AVAudioFormat |
format()
returns the format of the audio data
|
static long |
hash_static() |
AVAudioPlayer |
init() |
AVAudioPlayer |
initWithContentsOfURLError(NSURL url,
org.moe.natj.general.ptr.Ptr<NSError> outError)
all data must be in the form of an audio file understood by CoreAudio
|
AVAudioPlayer |
initWithContentsOfURLFileTypeHintError(NSURL url,
java.lang.String utiString,
org.moe.natj.general.ptr.Ptr<NSError> outError)
The file type hint is a constant defined in AVMediaFormat.h whose value is a UTI for a file format.
|
AVAudioPlayer |
initWithDataError(NSData data,
org.moe.natj.general.ptr.Ptr<NSError> outError) |
AVAudioPlayer |
initWithDataFileTypeHintError(NSData data,
java.lang.String utiString,
org.moe.natj.general.ptr.Ptr<NSError> outError) |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
isMeteringEnabled()
turns level metering on or off.
|
boolean |
isPlaying()
is it playing or not?
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static AVAudioPlayer |
new_objc() |
long |
numberOfChannels() |
long |
numberOfLoops()
"numberOfLoops" is the number of times that the sound will return to the beginning upon reaching the end.
|
float |
pan()
set panning.
|
void |
pause()
Pauses playback, but remains ready to play.
|
float |
peakPowerForChannel(long channelNumber)
returns peak power in decibels for a given channel
|
boolean |
play()
This method starts the audio hardware synchronously (if not already running), and triggers the sound playback which is streamed asynchronously.
|
boolean |
playAtTime(double time)
This method starts the audio hardware synchronously (if not already running), and triggers the sound playback which is streamed asynchronously at the specified time in the future.
|
boolean |
prepareToPlay()
Transport control
Methods that return BOOL return YES on success and NO on failure.
|
float |
rate()
See enableRate.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setChannelAssignments(NSArray<? extends AVAudioSessionChannelDescription> value)
Array of AVAudioSessionChannelDescription objects
|
void |
setCurrentTime(double value)
If the sound is playing, currentTime is the offset into the sound of the current playback position.
|
void |
setDelegate_unsafe(AVAudioPlayerDelegate value)
the delegate will be sent messages from the AVAudioPlayerDelegate protocol
|
void |
setDelegate(AVAudioPlayerDelegate value)
the delegate will be sent messages from the AVAudioPlayerDelegate protocol
|
void |
setEnableRate(boolean value)
You must set enableRate to YES for the rate property to take effect.
|
void |
setMeteringEnabled(boolean value)
turns level metering on or off.
|
void |
setNumberOfLoops(long value)
"numberOfLoops" is the number of times that the sound will return to the beginning upon reaching the end.
|
void |
setPan(float value)
set panning.
|
void |
setRate(float value)
See enableRate.
|
NSDictionary<java.lang.String,?> |
settings()
returns a settings dictionary with keys as described in AVAudioSettings.h
|
static void |
setVersion_static(long aVersion) |
void |
setVolume(float value)
The volume for the sound.
|
void |
setVolumeFadeDuration(float volume,
double duration)
fade to a new volume over a duration
|
void |
stop()
Synchronously stops playback, no longer ready to play.
|
static org.moe.natj.objc.Class |
superclass_static() |
void |
updateMeters()
call to refresh meter values
|
NSURL |
url()
returns nil if object was not created with a URL
|
static long |
version_static() |
float |
volume()
The volume for the sound.
|
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static AVAudioPlayer alloc()
public static AVAudioPlayer allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public float averagePowerForChannel(long channelNumber)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public NSArray<? extends AVAudioSessionChannelDescription> channelAssignments()
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public double currentTime()
public NSData data()
public static java.lang.String debugDescription_static()
public AVAudioPlayerDelegate delegate()
public static java.lang.String description_static()
public double deviceCurrentTime()
public double duration()
public boolean enableRate()
public AVAudioFormat format()
public static long hash_static()
public AVAudioPlayer init()
public AVAudioPlayer initWithContentsOfURLError(NSURL url, org.moe.natj.general.ptr.Ptr<NSError> outError)
public AVAudioPlayer initWithContentsOfURLFileTypeHintError(NSURL url, java.lang.String utiString, org.moe.natj.general.ptr.Ptr<NSError> outError)
public AVAudioPlayer initWithDataError(NSData data, org.moe.natj.general.ptr.Ptr<NSError> outError)
public AVAudioPlayer initWithDataFileTypeHintError(NSData data, java.lang.String utiString, org.moe.natj.general.ptr.Ptr<NSError> outError)
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public boolean isMeteringEnabled()
public boolean isPlaying()
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static AVAudioPlayer new_objc()
public long numberOfChannels()
public long numberOfLoops()
public float pan()
public void pause()
public float peakPowerForChannel(long channelNumber)
public boolean play()
public boolean playAtTime(double time)
public boolean prepareToPlay()
public float rate()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public void setChannelAssignments(NSArray<? extends AVAudioSessionChannelDescription> value)
public void setCurrentTime(double value)
public void setDelegate_unsafe(AVAudioPlayerDelegate value)
public void setDelegate(AVAudioPlayerDelegate value)
public void setEnableRate(boolean value)
public void setMeteringEnabled(boolean value)
public void setNumberOfLoops(long value)
public void setPan(float value)
public void setRate(float value)
public static void setVersion_static(long aVersion)
public void setVolume(float value)
public void setVolumeFadeDuration(float volume,
double duration)
public NSDictionary<java.lang.String,?> settings()
public void stop()
public static org.moe.natj.objc.Class superclass_static()
public void updateMeters()
public NSURL url()
public static long version_static()
public float volume()