예제 #1
0
 public override Task <double> GetVolumeAsync(CancellationToken cancellationToken)
 {
     return(TaskShim.FromResult(_volume));
 }
예제 #2
0
 public Task <bool> GetMuteAsync(CancellationToken cancellationToken)
 {
     return(TaskShim.FromResult(_isMuted));
 }
 public Task <IEnumerable <IAudioSession> > AllAsync()
 {
     return(TaskShim.FromResult(All()));
 }
 public Task <IEnumerable <IAudioSession> > ActiveSessionsAsync()
 {
     return(TaskShim.FromResult(ActiveSessions()));
 }
 public Task <IEnumerable <IAudioSession> > ExpiredSessionsAsync()
 {
     return(TaskShim.FromResult(ExpiredSessions()));
 }