Share via


ObjectObserver.DetectAsync Method

Definition

Overloads

DetectAsync(ObjectQuery)

Detects object instances of a single model with the given query parameters.

DetectAsync(ObjectQuery[])

Detects object instances of multiple models with the given query parameters.

DetectAsync(ObjectQuery)

Detects object instances of a single model with the given query parameters.

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IList<Microsoft::Azure::ObjectAnchors::ObjectInstance ^> ^> ^ DetectAsync(Microsoft::Azure::ObjectAnchors::ObjectQuery ^ query);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.ObjectAnchors.ObjectInstance>> DetectAsync (Microsoft.Azure.ObjectAnchors.ObjectQuery query);
member this.DetectAsync : Microsoft.Azure.ObjectAnchors.ObjectQuery -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.ObjectAnchors.ObjectInstance>>
Public Function DetectAsync (query As ObjectQuery) As Task(Of IReadOnlyList(Of ObjectInstance))

Parameters

query
ObjectQuery

An object query.

Returns

Applies to

DetectAsync(ObjectQuery[])

Detects object instances of multiple models with the given query parameters.

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IList<Microsoft::Azure::ObjectAnchors::ObjectInstance ^> ^> ^ DetectAsync(cli::array <Microsoft::Azure::ObjectAnchors::ObjectQuery ^> ^ queries);
public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.ObjectAnchors.ObjectInstance>> DetectAsync (Microsoft.Azure.ObjectAnchors.ObjectQuery[] queries);
member this.DetectAsync : Microsoft.Azure.ObjectAnchors.ObjectQuery[] -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyList<Microsoft.Azure.ObjectAnchors.ObjectInstance>>
Public Function DetectAsync (queries As ObjectQuery()) As Task(Of IReadOnlyList(Of ObjectInstance))

Parameters

queries
ObjectQuery[]

An array of object queries.

Returns

Applies to