Interface IMetadataProvider
Provides an abstraction of the MetadataClient to allow testing and mocking. Use the MetadataProvider (the default implementation) in functional code to implement this interface's functionality.
Namespace: Unity.Cloud.Metadata
Syntax
public interface IMetadataProvider
Methods
GetAllKeysAsync()
Get a list of all the possible root keys in the objects contained in the scene
Declaration
Task<IEnumerable<string>> GetAllKeysAsync()
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<String>> | The list of possible root keys in the scene's metadata |
GetMetadataAsync(GetMetadataParameters)
Get a list of Match in the scene from a list of owners id
Declaration
Task<MatchCollection> GetMetadataAsync(GetMetadataParameters parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| GetMetadataParameters | parameters | The parameters containing the filters conditions to extract only records that fulfill them |
Returns
| Type | Description |
|---|---|
| Task<MatchCollection> | The list of Match |