Uses of Class
org.mpris.MPRISBuilder
Packages that use MPRISBuilder
-
Uses of MPRISBuilder in org.mpris
Methods in org.mpris that return MPRISBuilderModifier and TypeMethodDescriptionMPRISBuilder.addPlaylistsSupport(PlaylistsImpl playlists) Adds support for PlaylistsMPRISBuilder.addTrackListSupport(TrackListImpl trackList) Adds support for TrackListMPRISBuilder.setCanControl(boolean canControl) Whether the media player may be controlled over this interface.MPRISBuilder.setCanGoNext(boolean canGoNext) Whether the client can call the Next method on this interface and expect the current track to change.MPRISBuilder.setCanGoPrevious(boolean canGoPrevious) Whether the client can call the Previous method on this interface and expect the current track to change.MPRISBuilder.setCanPause(boolean canPause) Whether playback can be paused using Pause or PlayPause.MPRISBuilder.setCanPlay(boolean canPlay) Whether playback can be started using Play or PlayPause.MPRISBuilder.setCanQuit(boolean canQuit) If false, calling Quit will have no effect, and may raise a NotSupported error.MPRISBuilder.setCanRaise(boolean canRaise) If false, calling Raise will have no effect, and may raise a NotSupported error.MPRISBuilder.setCanSeek(boolean canSeek) Whether the client can control the playback position using Seek and SetPosition.MPRISBuilder.setCanSetFullscreen(boolean canSetFullscreen) If false, attempting to set Fullscreen will have no effect, and may raise an error.MPRISBuilder.setDesktopEntry(String desktopEntry) The basename of an installed .desktop file which complies with the Desktop entry specification, with the ".desktop" extension stripped.MPRISBuilder.setFullscreen(boolean fullscreen) Whether the media player is occupying the fullscreen.MPRISBuilder.setHasTrackList(boolean hasTrackList) Indicates whether the /org/mpris/MediaPlayer2 object implements the org.mpris.MediaPlayer2.TrackList interface.MPRISBuilder.setIdentity(String identity) A friendly name to identify the media player to users.MPRISBuilder.setLoopStatus(LoopStatus loopStatus) The current loop / repeat status May be: "None" if the playback will stop when there are no more tracks to play "Track" if the current track will start again from the begining once it has finished playing "Playlist" if the playback loops through a list of tracks If CanControl is false, attempting to set this property should have no effect and raise an error.MPRISBuilder.setMaximumRate(double maximumRate) The maximum value which the Rate property can take.MPRISBuilder.setMetadata(Metadata metadata) The metadata of the current element.MPRISBuilder.setMinimumRate(double minimumRate) The minimum value which the Rate property can take.MPRISBuilder.setOnFullscreen(TypeRunnable<Boolean> onFullscreen) Called when the Fullscreen property changesMPRISBuilder.setOnLoopStatus(TypeRunnable<LoopStatus> onLoopStatus) Called when the LoopStatus property changesSkips to the next track in the tracklist.MPRISBuilder.setOnOpenURI(TypeRunnable<String> onOpenURI) Opens the Uri given as an argument If the playback is stopped, starts playing If the uri scheme or the mime-type of the uri to open is not supported, this method does nothing and may raise an error.MPRISBuilder.setOnPause(Runnable onPause) Pauses playback.Starts or resumes playback.MPRISBuilder.setOnPlayPause(Runnable onPlayPause) Pauses playback.MPRISBuilder.setOnPrevious(Runnable onPrevious) Skips to the previous track in the tracklist.Causes the media player to stop running.MPRISBuilder.setOnRaise(Runnable onRaise) Brings the media player's user interface to the front using any appropriate mechanism available.MPRISBuilder.setOnRate(TypeRunnable<Double> onRate) Called when the Rate property changesMPRISBuilder.setOnSeek(TypeRunnable<Long> onSeek) Seeks forward in the current track by the specified number of microseconds.MPRISBuilder.setOnSetPosition(TypeRunnable<Position> onSetPosition) Sets the current track position in microseconds.MPRISBuilder.setOnShuffle(TypeRunnable<Boolean> onShuffle) Called when the Shuffle property changesStops playback.MPRISBuilder.setOnVolume(TypeRunnable<Double> onVolume) Called when the Volume property changesMPRISBuilder.setPlaybackStatus(PlaybackStatus playbackStatus) The current playback status.MPRISBuilder.setPosition(long microseconds) The current track position in microseconds, between 0 and the 'mpris:length' metadata entry (see Metadata).MPRISBuilder.setRate(double rate) The current playback rate.MPRISBuilder.setShuffle(boolean shuffle) A value of false indicates that playback is progressing linearly through a playlist, while true means playback is progressing through a playlist in some other order.MPRISBuilder.setSupportedMimeTypes(String... supportedMimeTypes) The mime-types supported by the media player.MPRISBuilder.setSupportedUriSchemes(String... supportedUriSchemes) The URI schemes supported by the media player.MPRISBuilder.setVolume(double volume) The volume level.