コード例 #1
0
 private async Task Implement(AudioEvents eventName)
 {
     await JSRuntime.InvokeVoidAsync("window.CustomEventHandler", Id, eventName.ToString().ToLower(), AudioState.GetPayload());
 }
コード例 #2
0
 private void TimeUpdate(AudioState audioState)
 {
     _currentTime = audioState.CurrentTime.ToString();
     _duration    = audioState.Duration.ToString();
 }