TRTCDeviceInfo.cs 723 B

1234567891011121314151617181920212223242526272829
  1. using ManageLiteAV;
  2. namespace Vinno.FIS.TRTCClient
  3. {
  4. internal class TRTCDeviceInfo
  5. {
  6. /// <summary>
  7. /// Device Id
  8. /// </summary>
  9. public string DeviceId { get; set; }
  10. /// <summary>
  11. /// Device Type :Mic ,Camera,Speaker
  12. /// </summary>
  13. public TRTCDeviceType DeviceType { get; set; }
  14. /// <summary>
  15. /// Device State
  16. /// </summary>
  17. public TRTCDeviceState DeviceState { get; set; }
  18. public TRTCDeviceInfo(string deviceId, TRTCDeviceType deviceType, TRTCDeviceState deviceState)
  19. {
  20. DeviceId = deviceId;
  21. DeviceType = deviceType;
  22. DeviceState = deviceState;
  23. }
  24. }
  25. }