Class MegaLandmarkFilter
- Namespace
- easyar
MegaLandmarkFilter implements VPS cloud location filtering function.
MegaLandmarkFilter
Methods
isAvailable
Return true.
bool easyar_MegaLandmarkFilter_isAvailable(void)
static bool isAvailable()
public static boolean isAvailable()
companion object fun isAvailable(): Boolean
+ (bool)isAvailable
public static func isAvailable() -> Bool
public static bool isAvailable()
Returns
- Boolean
create
Create and connect to the server.
void easyar_MegaLandmarkFilter_create(easyar_String * server, easyar_String * apiKey, easyar_String * apiSecret, easyar_String * appId, easyar_MegaLandmarkFilter * * Return)
static std::shared_ptr<MegaLandmarkFilter> create(std::string server, std::string apiKey, std::string apiSecret, std::string appId)
public static @Nonnull MegaLandmarkFilter create(java.lang.@Nonnull String server, java.lang.@Nonnull String apiKey, java.lang.@Nonnull String apiSecret, java.lang.@Nonnull String appId)
companion object fun create(server: String, apiKey: String, apiSecret: String, appId: String): MegaLandmarkFilter
+ (easyar_MegaLandmarkFilter *)create:(NSString *)server apiKey:(NSString *)apiKey apiSecret:(NSString *)apiSecret appId:(NSString *)appId
public static func create(_ server: String, _ apiKey: String, _ apiSecret: String, _ appId: String) throws -> MegaLandmarkFilter
public static MegaLandmarkFilter create(string server, string apiKey, string apiSecret, string appId)
Parameters
serverStringapiKeyStringapiSecretStringappIdString
Returns
createWithToken
Create with API Token.
void easyar_MegaLandmarkFilter_createWithToken(easyar_String * server, easyar_String * apiToken, easyar_String * appId, easyar_MegaLandmarkFilter * * Return)
static std::shared_ptr<MegaLandmarkFilter> createWithToken(std::string server, std::string apiToken, std::string appId)
public static @Nonnull MegaLandmarkFilter createWithToken(java.lang.@Nonnull String server, java.lang.@Nonnull String apiToken, java.lang.@Nonnull String appId)
companion object fun createWithToken(server: String, apiToken: String, appId: String): MegaLandmarkFilter
+ (easyar_MegaLandmarkFilter *)createWithToken:(NSString *)server apiToken:(NSString *)apiToken appId:(NSString *)appId
public static func createWithToken(_ server: String, _ apiToken: String, _ appId: String) throws -> MegaLandmarkFilter
public static MegaLandmarkFilter createWithToken(string server, string apiToken, string appId)
Parameters
serverStringapiTokenStringappIdString
Returns
updateToken
Update API Token.
void easyar_MegaLandmarkFilter_updateToken(easyar_MegaLandmarkFilter * This, easyar_String * apiToken)
void updateToken(std::string apiToken)
public void updateToken(java.lang.@Nonnull String apiToken)
fun updateToken(apiToken: String): Unit
- (void)updateToken:(NSString *)apiToken
public func updateToken(_ apiToken: String) -> Void
public virtual void updateToken(string apiToken)
Parameters
apiTokenString
Returns
- Void
filterByLocation
Location filtering. Enter GPS information, return SpotVersionId.
void easyar_MegaLandmarkFilter_filterByLocation(easyar_MegaLandmarkFilter * This, easyar_LocationResult gps, easyar_OptionalOfInt timeoutMilliseconds, easyar_CallbackScheduler * callbackScheduler, easyar_FunctorOfVoidFromMegaLandmarkFilterResult callback)
void filterByLocation(LocationResult gps, std::optional<int> timeoutMilliseconds, std::shared_ptr<CallbackScheduler> callbackScheduler, std::function<void(std::shared_ptr<MegaLandmarkFilterResult>)> callback)
public void filterByLocation(@Nonnull LocationResult gps, java.lang.@Nullable Integer timeoutMilliseconds, @Nonnull CallbackScheduler callbackScheduler, @Nonnull FunctorOfVoidFromMegaLandmarkFilterResult callback)
fun filterByLocation(gps: LocationResult, timeoutMilliseconds: Int?, callbackScheduler: CallbackScheduler, callback: FunctorOfVoidFromMegaLandmarkFilterResult): Unit
- (void)filterByLocation:(easyar_LocationResult *)gps timeoutMilliseconds:(NSNumber *)timeoutMilliseconds callbackScheduler:(easyar_CallbackScheduler *)callbackScheduler callback:(void (^)(easyar_MegaLandmarkFilterResult * result))callback
public func filterByLocation(_ gps: LocationResult, _ timeoutMilliseconds: Int32?, _ callbackScheduler: CallbackScheduler, _ callback: @escaping (MegaLandmarkFilterResult) -> Void) -> Void
public virtual void filterByLocation(LocationResult gps, Optional<int> timeoutMilliseconds, CallbackScheduler callbackScheduler, Action<MegaLandmarkFilterResult> callback)
Parameters
gpsLocationResulttimeoutMillisecondsOptional<Int32>callbackSchedulerCallbackSchedulercallbackAction<MegaLandmarkFilterResult>
Returns
- Void
filterBySpotId
Filter by SpotId. Return SpotVersionId.
void easyar_MegaLandmarkFilter_filterBySpotId(easyar_MegaLandmarkFilter * This, easyar_String * spotId, easyar_OptionalOfInt timeoutMilliseconds, easyar_CallbackScheduler * callbackScheduler, easyar_FunctorOfVoidFromMegaLandmarkFilterResult callback)
void filterBySpotId(std::string spotId, std::optional<int> timeoutMilliseconds, std::shared_ptr<CallbackScheduler> callbackScheduler, std::function<void(std::shared_ptr<MegaLandmarkFilterResult>)> callback)
public void filterBySpotId(java.lang.@Nonnull String spotId, java.lang.@Nullable Integer timeoutMilliseconds, @Nonnull CallbackScheduler callbackScheduler, @Nonnull FunctorOfVoidFromMegaLandmarkFilterResult callback)
fun filterBySpotId(spotId: String, timeoutMilliseconds: Int?, callbackScheduler: CallbackScheduler, callback: FunctorOfVoidFromMegaLandmarkFilterResult): Unit
- (void)filterBySpotId:(NSString *)spotId timeoutMilliseconds:(NSNumber *)timeoutMilliseconds callbackScheduler:(easyar_CallbackScheduler *)callbackScheduler callback:(void (^)(easyar_MegaLandmarkFilterResult * result))callback
public func filterBySpotId(_ spotId: String, _ timeoutMilliseconds: Int32?, _ callbackScheduler: CallbackScheduler, _ callback: @escaping (MegaLandmarkFilterResult) -> Void) -> Void
public virtual void filterBySpotId(string spotId, Optional<int> timeoutMilliseconds, CallbackScheduler callbackScheduler, Action<MegaLandmarkFilterResult> callback)
Parameters
spotIdStringtimeoutMillisecondsOptional<Int32>callbackSchedulerCallbackSchedulercallbackAction<MegaLandmarkFilterResult>
Returns
- Void
close
Close the connection. Should not be used after close.
void easyar_MegaLandmarkFilter_close(easyar_MegaLandmarkFilter * This)
void close()
public void close()
fun close(): Unit
- (void)close
public func close() -> Void
public virtual void close()
Returns
- Void