NexxPlayController class abstract
Mirror to the native Android nexxPLAY methods.
An object of this type is
created for all corresponding widgets, getting passed via a consumer
callback serving as NexxPlay initialization argument. Full methods
documentation can be found here.
Events are supported and available via the events
stream.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCache(
) → Future< void> -
clearLocalMedia(
[String? streamType]) → Future< void> -
diskSpaceUsedForLocalMedia(
) → Future< int> -
dispose(
) → void -
events(
) → Stream< PlayerEvent> -
getAudioTracks(
) → Future< List< AudioTrack> ?> -
getConnectedFiles(
) → Future< List< ConnectedFile> ?> -
getCurrentMedia(
) → Future< MediaData> -
getCurrentMediaParent(
) → Future< MediaParentData?> -
getCurrentPlaybackState(
) → Future< CurrentPlaybackState> -
getCurrentTime(
) → Future< double> -
hasDownloadOfLocalMedia(
{required String mediaID, required String streamType, String? provider}) → Future< bool> -
isCasting(
) → Future< bool> -
isInPiP(
) → Future< bool> -
isMuted(
) → Future< bool> -
isPlaying(
) → Future< bool> -
isPlayingAd(
) → Future< bool> -
listLocalMedia(
[String? streamType]) → Future< List< OfflineMediaResult> > -
mute(
) → Future< void> -
next(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< void> -
play(
) → Future< void> -
previous(
) → Future< void> -
removeLocalMedia(
{required String mediaID, required String streamType, String? provider}) → Future< void> -
seekBy(
double timeSeconds) → Future< void> -
seekTo(
double timeMillis) → Future< void> -
startDownloadingLocalMedia(
{required String mediaID, required String streamType, String? provider}) → Future< void> -
startPlay(
{required String playMode, required String mediaID, required NexxPlayConfiguration configuration}) → Future< void> -
startPlayWithGlobalID(
{required String globalID, required NexxPlayConfiguration configuration}) → Future< void> -
startPlayWithRemoteMedia(
{required String playMode, required String mediaID, required String provider, required NexxPlayConfiguration configuration}) → Future< void> -
swapToGlobalID(
{required String globalID, int startPosition = 0, double delay = 0, String reason = "", bool showReturnButton = false}) → Future< void> -
swapToMediaItem(
{required String mediaID, String? streamType, int startPosition = 0, double delay = 0, String reason = "", bool showReturnButton = false}) → Future< void> -
swapToPosition(
int position) → Future< void> -
swapToRemoteMedia(
{required String reference, required String provider, String? streamType, double delay = 0, String reason = "", bool showReturnButton = false}) → Future< void> -
toggle(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
unmute(
) → Future< void> -
updateConfiguration(
{required String key, required Object value}) → Future< void> -
updateEnvironment(
{required String key, required Object value}) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited