Created
October 27, 2021 19:02
-
-
Save rdelrosario/1b69dbc4143c438273638de673061af6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainViewModel : INotifyPropertyChanged | |
{ | |
... | |
public ICommand ForwardCommand { get; } | |
public ICommand RewindCommand { get; } | |
public MainViewModel(){ | |
... | |
ForwardCommand = new Command<double>((seconds) => { | |
_videoPlayerStateMachine.Fire(forwardParamTrigger, seconds); | |
}); | |
RewindCommand = new Command<double>((seconds) => { | |
_videoPlayerStateMachine.Fire(rewindParamTrigger, seconds); | |
}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment