WQYeo.SudoMediaPlayer
1.0.0
dotnet add package WQYeo.SudoMediaPlayer --version 1.0.0
NuGet\Install-Package WQYeo.SudoMediaPlayer -Version 1.0.0
<PackageReference Include="WQYeo.SudoMediaPlayer" Version="1.0.0" />
paket add WQYeo.SudoMediaPlayer --version 1.0.0
#r "nuget: WQYeo.SudoMediaPlayer, 1.0.0"
// Install WQYeo.SudoMediaPlayer as a Cake Addin
#addin nuget:?package=WQYeo.SudoMediaPlayer&version=1.0.0
// Install WQYeo.SudoMediaPlayer as a Cake Tool
#tool nuget:?package=WQYeo.SudoMediaPlayer&version=1.0.0
To get started, simply create an instance of SudoPlayer class. Note that the properties are not static, so you can create multiple instances of the class to have multiple mediaplayer running a the same time.
MediaState enum is used to denote the current state of the mediaPlayer. You can use GetMediaState() method to check the current state of the mediaPlayer.
You can also set the mediaPlayer to be repeating by setting IsRepeat property. You can also add your own custom events when the mediaPlayer ends by calling SetCompletionEvent(Action) method, where Action is your desired event.
Finally, to get your mediaPlayer prepared and started, call PreparePlayer() method and you will be all set and good to go! The rest of the methods are self-explanatory.
There is also a Song class in the library to help simplify your task for storing song-datas.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid60 is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|
First Release.