public void GetFieldTypeByAutofillHints(IDataCallback <Dictionary <string, FieldTypeWithHeuristics> > fieldTypeMapCallback) { mAppExecutors.diskIO.Execute(new AppExecutorsRunable8 { fieldTypeMapCallback = fieldTypeMapCallback }); }
public void GetFieldTypes(IDataCallback <List <FieldTypeWithHeuristics> > fieldTypesCallback) { mAppExecutors.diskIO.Execute(new AppExecutorsRunable6 { fieldTypesCallback = fieldTypesCallback }); }
public void GetAutofillDatasets(List <string> allAutofillHints, IDataCallback <List <DatasetWithFilledAutofillFields> > datasetsCallback) { mAppExecutors.diskIO.Execute(new AppExecutorsRunable1 { datasetsCallback = datasetsCallback, allAutofillHints = allAutofillHints });; }
public void GetAutofillDatasetWithId(string datasetId, IDataCallback <DatasetWithFilledAutofillFields> callback) { mAppExecutors.diskIO.Execute(new AppExecutorsRunable11 { callback = callback, datasetId = datasetId }); }
public void GetFieldType(string typeName, IDataCallback <FieldType> fieldTypeCallback) { mAppExecutors.diskIO.Execute(new AppExecutorsRunable7 { typeName = typeName, fieldTypeCallback = fieldTypeCallback }); }
public void GetFilledAutofillField(string datasetId, string fieldTypeName, IDataCallback <FilledAutofillField> fieldCallback) { mAppExecutors.diskIO.Execute(new AppExecutorsRunable9 { datasetId = datasetId, fieldTypeName = fieldTypeName, fieldCallback = fieldCallback }); }
Customer IDataServiceV2.GetCustomer(int customerId) { IDataCallback callback = OperationContext.Current.GetCallbackChannel <IDataCallback>(); Customer customer = GetCustomer(customerId); t1 = new Task(() => { var address = GetCustomerAddress(customer); if (callback == null) { Console.WriteLine("DataService.GetCustomer({0}) failed to get Address callback channel!", customerId); } else { callback.OnCustomerAddressComplete(address); } }); t1.Start(); t2 = new Task(() => { var invoices = GetCustomerInvoices(customer); if (callback == null) { Console.WriteLine("DataService.GetCustomer({0}) failed to get Invoices callback channel!", customerId); } else { callback.OnCustomerInvoicesComplete(invoices); } }); t2.Start(); return(customer); }
public void CheckValid(Util.DalCheckRequirement dalCheckRequirement, DalInfo dalInfo, IDataCallback <DalCheck> dalCheckCallback) { this.dalCheckCallback = dalCheckCallback; this.dalCheckRequirement = dalCheckRequirement; if (dalCheckRequirement.Equals(Util.DalCheckRequirement.Disabled)) { dalCheck = new DalCheck(); dalCheck.linked = true; dalCheckCallback.OnLoaded(dalCheck); return; } dalCheck = mCache[dalInfo]; if (dalCheck != null) { dalCheckCallback.OnLoaded(dalCheck); return; } packageName = dalInfo.PackageName; webDomain = dalInfo.WebDomain; try { var packageInfo = mPackageManager.GetPackageInfo(packageName, PackageInfoFlags.Signatures); fingerprint = SecurityHelper.GetFingerprint(packageInfo, packageName); } catch (Exception e) { dalCheckCallback.OnDataNotAvailable("Error getting fingerprint for %s", packageName); return; } Util.Logd("validating domain %s for pkg %s and fingerprint %s.", webDomain, packageName, fingerprint); mDalService.Check(webDomain, PERMISSION_GET_LOGIN_CREDS, packageName, fingerprint).Enqueue(new MyCallBack { repository = this }); }
// Confirming the Connection // Accept the connection request public void AcceptConnectionRequest(string endpointId, ConnectInfo connectInfo, IDataCallback dataCallback) { Debug.Log("[HMS] Accept Connection Request, Endpoint Name:" + connectInfo.EndpointName); Nearby.DiscoveryEngine.AcceptConnect(endpointId, dataCallback); }
public void GetAllAutofillDatasets(IDataCallback <List <DatasetWithFilledAutofillFields> > datasetsCallback) { mAppExecutors.diskIO.Execute(new AppExecutorsRunable2 { datasetsCallback = datasetsCallback }); }
public void GetAutofillDataset(List <string> allAutofillHints, string datasetName, IDataCallback <DatasetWithFilledAutofillFields> datasetsCallback) { mAppExecutors.diskIO.Execute(new AppExecutorsRunable3 { datasetName = datasetName, allAutofillHints = allAutofillHints, datasetsCallback = datasetsCallback }); }
public DataCallback(IDataCallback listener) : base("org.m0skit0.android.hms.unity.nearby.DataListenerWrapper", new DataCallbackInterface(listener)) { }
public DataCallbackInterface(IDataCallback listener) : base("org.m0skit0.android.hms.unity.nearby.DataListener") { mListener = listener; }
public FftData(IDataCallback <double> cb) { _cb = cb; }
public ITask <Void> AcceptConnect(String endpointId, IDataCallback dataCallback) => CallAsWrapper <TaskVoidWrapper>("acceptConnect", endpointId, new DataCallback(dataCallback));