public DeviceData(SparkSDK.Spark spark) { MicroPhoneList = spark.Phone.GetAVIODevices(SparkSDK.AVIODeviceType.Microphone); SpeakerList = spark.Phone.GetAVIODevices(SparkSDK.AVIODeviceType.Speaker); RingerList = spark.Phone.GetAVIODevices(SparkSDK.AVIODeviceType.Ringer); CameraList = spark.Phone.GetAVIODevices(SparkSDK.AVIODeviceType.Camera); convertoUTF8(MicroPhoneList); convertoUTF8(SpeakerList); convertoUTF8(RingerList); convertoUTF8(CameraList); systemDefault(MicroPhoneList); systemDefault(SpeakerList); systemDefault(RingerList); systemDefault(CameraList); }
public VideoAudioSetupViewModel() { this.spark = ApplicationController.Instance.CurSparkManager.CurSpark; DeviceData = new DeviceData(this.spark); DefaultAudioBandWidths = new List <string>(); DefaultAudioBandWidths.Add(((uint)SparkSDK.Phone.DefaultBandwidth.MaxBandwidthAudio).ToString()); DefaultVideoBandWidths = new List <string>(); DefaultVideoBandWidths.Add(((uint)SparkSDK.Phone.DefaultBandwidth.MaxBandwidth90p).ToString()); DefaultVideoBandWidths.Add(((uint)SparkSDK.Phone.DefaultBandwidth.MaxBandwidth180p).ToString()); DefaultVideoBandWidths.Add(((uint)SparkSDK.Phone.DefaultBandwidth.MaxBandwidth360p).ToString()); DefaultVideoBandWidths.Add(((uint)SparkSDK.Phone.DefaultBandwidth.MaxBandwidth720p).ToString()); DefaultVideoBandWidths.Add(((uint)SparkSDK.Phone.DefaultBandwidth.MaxBandwidth1080p).ToString()); DefaultShareBandWidths = new List <string>(); DefaultShareBandWidths.Add(((uint)SparkSDK.Phone.DefaultBandwidth.MaxBandwidthSession).ToString()); }
public VideoAudioSetupViewModel() { this.spark = ApplicationController.Instance.CurSparkManager.CurSpark; DeviceData = new DeviceData(this.spark); }