コード例 #1
0
ファイル: MSELocator.cs プロジェクト: ase-lab/MSEAPI-CS
        /// <summary>
        /// Devices in View of Self - This method computes the devices in the view of the calling device based on it's internal field of view angles
        /// </summary>
        /// <param name="success">Success Handler</param>
        /// <param name="failure">Failure Handler</param>
        public void GetDevicesInView(MSEDeviceCollectionHandler success, MSEErrorHandler failure)
        {
            Dictionary<string, string> parameters = new Dictionary<string, string>();
            parameters.Add("identifier", this.intAirAct.OwnDevice.Name);

            CallIntAirActRoute(Routes.GetAllDevicesInViewRoute, parameters, success, failure);
        }
コード例 #2
0
ファイル: MSELocator.cs プロジェクト: ase-lab/MSEAPI-CS
 /// <summary>
 /// This method returns all the devices currently recognized by the locator
 /// </summary>
 /// <param name="success">Success Handler</param>
 /// <param name="failure">Failure Handler</param>
 public void GetDevicesInSystem(MSEDeviceCollectionHandler success, MSEErrorHandler failure)
 {
     Dictionary<string, string> parameters = new Dictionary<string, string>();
     CallIntAirActRoute(Routes.GetAllDeviceInfoRoute, parameters, success, failure);
 }