Package org.robovm.apple.mediaplayer
Class MPRemoteCommandCenter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.mediaplayer.MPRemoteCommandCenter
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class MPRemoteCommandCenter extends NSObject
- Since:
- Available in iOS 7.1 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPRemoteCommandCenter.MPRemoteCommandCenterPtr
-
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 protected
MPRemoteCommandCenter()
protected
MPRemoteCommandCenter(NSObject.Handle h, long handle)
protected
MPRemoteCommandCenter(NSObject.SkipInit skipInit)
-
Method Summary
-
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
-
MPRemoteCommandCenter
protected MPRemoteCommandCenter()
-
MPRemoteCommandCenter
protected MPRemoteCommandCenter(NSObject.Handle h, long handle)
-
MPRemoteCommandCenter
protected MPRemoteCommandCenter(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getPauseCommand
public MPRemoteCommand getPauseCommand()
-
getPlayCommand
public MPRemoteCommand getPlayCommand()
-
getStopCommand
public MPRemoteCommand getStopCommand()
-
getTogglePlayPauseCommand
public MPRemoteCommand getTogglePlayPauseCommand()
-
getEnableLanguageOptionCommand
public MPRemoteCommand getEnableLanguageOptionCommand()
- Since:
- Available in iOS 9.0 and later.
-
getDisableLanguageOptionCommand
public MPRemoteCommand getDisableLanguageOptionCommand()
- Since:
- Available in iOS 9.0 and later.
-
getChangePlaybackRateCommand
public MPChangePlaybackRateCommand getChangePlaybackRateCommand()
-
getChangeRepeatModeCommand
public MPChangeRepeatModeCommand getChangeRepeatModeCommand()
-
getChangeShuffleModeCommand
public MPChangeShuffleModeCommand getChangeShuffleModeCommand()
-
getNextTrackCommand
public MPRemoteCommand getNextTrackCommand()
-
getPreviousTrackCommand
public MPRemoteCommand getPreviousTrackCommand()
-
getSkipForwardCommand
public MPSkipIntervalCommand getSkipForwardCommand()
-
getSkipBackwardCommand
public MPSkipIntervalCommand getSkipBackwardCommand()
-
getSeekForwardCommand
public MPRemoteCommand getSeekForwardCommand()
-
getSeekBackwardCommand
public MPRemoteCommand getSeekBackwardCommand()
-
getChangePlaybackPositionCommand
public MPChangePlaybackPositionCommand getChangePlaybackPositionCommand()
- Since:
- Available in iOS 9.1 and later.
-
getRatingCommand
public MPRatingCommand getRatingCommand()
-
getLikeCommand
public MPFeedbackCommand getLikeCommand()
-
getDislikeCommand
public MPFeedbackCommand getDislikeCommand()
-
getBookmarkCommand
public MPFeedbackCommand getBookmarkCommand()
-
getSharedCommandCenter
public static MPRemoteCommandCenter getSharedCommandCenter()
-
-