Skip to main content
Version: 12 Dec 2024

Request

Inherits from:
MLRequest< Request.Params, Request.Result >,
IMLRequest< Params, Result >

Public Methods

Request

public Request()

override MLResult Start

public override MLResult Start(
Params queryParams
)

Parameters

TypeNameDescription
ParamsqueryParamsA collection of filters for Spatial Anchor queries. Filters that have been set will be combined via logical conjunction. E. g. results must match the ids filter AND fall within the radius constraint when both have been set. This struct must be initialized by calling #MLSpatialAnchorQueryFilterInit before use.

MLResult Start

public MLResult Start(
Params parameters,
out uint resultsCount
)

Parameters

TypeNameDescription
ParamsparametersA collection of filters for Spatial Anchor queries. Filters that have been set will be combined via logical conjunction. E. g. results must match the ids filter AND fall within the radius constraint when both have been set. This struct must be initialized by calling #MLSpatialAnchorQueryFilterInit before use.
out uintresultsCount

override MLResult TryGetResult

public override MLResult TryGetResult(
out Result result
)

Parameters

TypeNameDescription
out Resultresult

MLResult TryGetResult

public MLResult TryGetResult(
int firstIndex,
int lastIndex,
out Result result
)

Parameters

TypeNameDescription
intfirstIndex
intlastIndex
out Resultresult

Protected Methods

Dispose

protected virtual override void Dispose(
bool disposing
)

Parameters

TypeNameDescription
booldisposing

Reimplements: Dispose