public LdpVolumeInfoResponse SetVolumeInfoResponse(bool mute) { var response = LdpVolumeInfoResponse.CreateBuilder(); response.Type = VolumeInfoType.MUTE; response.IsMute = mute; return(response.Build()); }
public LdpVolumeInfoResponse SetVolumeInfoResponse(int volume) { var response = LdpVolumeInfoResponse.CreateBuilder(); response.Type = VolumeInfoType.VOLUME; response.Volume = volume; return(response.Build()); }