Lines Matching refs:callback

79      * @param callback Indicates the callback for reporting the location result.
82 sptr<ILocatorCallback>& callback);
87 * @param callback Indicates the callback for reporting the location result.
89 void StopLocating(sptr<ILocatorCallback>& callback);
101 * @param callback Indicates the callback for reporting the location switch status.
105 bool RegisterSwitchCallback(const sptr<IRemoteObject>& callback, pid_t uid);
110 * @param callback Indicates the callback for reporting the location switch status.
113 bool UnregisterSwitchCallback(const sptr<IRemoteObject>& callback);
118 * @param callback Indicates the callback for reporting the satellite status.
122 bool RegisterGnssStatusCallback(const sptr<IRemoteObject>& callback, pid_t uid);
127 * @param callback Indicates the callback for reporting the satellite status.
130 bool UnregisterGnssStatusCallback(const sptr<IRemoteObject>& callback);
135 * @param callback Indicates the callback for reporting the nmea message.
139 bool RegisterNmeaMessageCallback(const sptr<IRemoteObject>& callback, pid_t uid);
144 * @param callback Indicates the callback for reporting the nmea message.
147 bool UnregisterNmeaMessageCallback(const sptr<IRemoteObject>& callback);
150 * @brief Registering the callback function for listening to country code changes.
152 * @param callback Indicates the callback for reporting country code changes.
156 bool RegisterCountryCodeCallback(const sptr<IRemoteObject>& callback, pid_t uid);
159 * @brief Unregistering the callback function for listening to country code changes.
161 * @param callback Indicates the callback for reporting country code changes.
164 bool UnregisterCountryCodeCallback(const sptr<IRemoteObject>& callback);
170 * @param callback Indicates the callback for reporting the cached GNSS locations.
174 sptr<ICachedLocationsCallback>& callback);
179 * @param callback Indicates the callback for reporting the cached gnss locations.
182 void UnregisterCachedLocationCallback(sptr<ICachedLocationsCallback>& callback);
232 * @brief All prepared GNSS locations are returned to the application through the callback function,
339 * @param callback Indicates the callback for reporting the location result.
343 sptr<ILocatorCallback>& callback);
348 * @param callback Indicates the callback for reporting the location result.
351 LocationErrCode StopLocatingV9(sptr<ILocatorCallback>& callback);
364 * @param callback Indicates the callback for reporting the location switch status.
367 LocationErrCode RegisterSwitchCallbackV9(const sptr<IRemoteObject>& callback);
372 * @param callback Indicates the callback for reporting the location switch status.
375 LocationErrCode UnregisterSwitchCallbackV9(const sptr<IRemoteObject>& callback);
380 * @param callback Indicates the callback for reporting the satellite status.
383 LocationErrCode RegisterGnssStatusCallbackV9(const sptr<IRemoteObject>& callback);
388 * @param callback Indicates the callback for reporting the satellite status.
391 LocationErrCode UnregisterGnssStatusCallbackV9(const sptr<IRemoteObject>& callback);
396 * @param callback Indicates the callback for reporting the nmea message.
399 LocationErrCode RegisterNmeaMessageCallbackV9(const sptr<IRemoteObject>& callback);
404 * @param callback Indicates the callback for reporting the nmea message.
407 LocationErrCode UnregisterNmeaMessageCallbackV9(const sptr<IRemoteObject>& callback);
410 * @brief Registering the callback function for listening to country code changes.
412 * @param callback Indicates the callback for reporting country code changes.
415 LocationErrCode RegisterCountryCodeCallbackV9(const sptr<IRemoteObject>& callback);
418 * @brief Unregistering the callback function for listening to country code changes.
420 * @param callback Indicates the callback for reporting country code changes.
423 LocationErrCode UnregisterCountryCodeCallbackV9(const sptr<IRemoteObject>& callback);
429 * @param callback Indicates the callback for reporting the cached GNSS locations.
433 sptr<ICachedLocationsCallback>& callback);
438 * @param callback Indicates the callback for reporting the cached gnss locations.
441 LocationErrCode UnregisterCachedLocationCallbackV9(sptr<ICachedLocationsCallback>& callback);
498 * @brief All prepared GNSS locations are returned to the application through the callback function,
587 * @param callback Indicates the callback for reporting WiFi/BT scan info.
591 sptr<ILocatingRequiredDataCallback>& callback);
596 * @param callback Indicates the callback for reporting WiFi/BT scan info.
599 LocationErrCode UnRegisterLocatingRequiredDataCallback(sptr<ILocatingRequiredDataCallback>& callback);
604 * @param callback Indicates the callback for reporting the location error result.
607 LocationErrCode SubscribeLocationError(sptr<ILocatorCallback>& callback);
612 * @param callback Indicates the callback for reporting the location error result.
615 LocationErrCode UnSubscribeLocationError(sptr<ILocatorCallback>& callback);
618 bool IsLocationCallbackRegistered(const sptr<ILocatorCallback>& callback);
619 bool IsSatelliteStatusChangeCallbackRegistered(const sptr<IRemoteObject>& callback);
620 bool IsNmeaCallbackRegistered(const sptr<IRemoteObject>& callback);
622 void AddLocationCallBack(std::unique_ptr<RequestConfig>& requestConfig, sptr<ILocatorCallback>& callback);
623 void RemoveLocationCallBack(sptr<ILocatorCallback>& callback);
624 void AddSatelliteStatusChangeCallBack(const sptr<IRemoteObject>& callback);
625 void RemoveSatelliteStatusChangeCallBack(const sptr<IRemoteObject>& callback);
626 void AddNmeaCallBack(const sptr<IRemoteObject>& callback);
627 void RemoveNmeaCallBack(const sptr<IRemoteObject>& callback);