Class MetadataProviderExtensions
Inherited Members
Namespace: Unity.Cloud.Metadata
Syntax
public static class MetadataProviderExtensions
Methods
GetAllIdsAsync(IMetadataProvider)
Get all owners id in the scene.
Declaration
public static async Task<IEnumerable<string>> GetAllIdsAsync(this IMetadataProvider metadataProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IMetadataProvider | metadataProvider | The metadata provider. |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<String>> | The list of ids |
GetAllMetadataAsync(IMetadataProvider)
Get all Metadata from all owners in the scene.
Declaration
public static async Task<MatchCollection> GetAllMetadataAsync(this IMetadataProvider metadataProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IMetadataProvider | metadataProvider | The metadata provider. |
Returns
| Type | Description |
|---|---|
| Task<MatchCollection> | The list of Match |
Query(IMetadataProvider)
Get a MetadataQueryBuilder to build fluently queries
Declaration
public static MetadataQueryBuilder Query(this IMetadataProvider metadataProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IMetadataProvider | metadataProvider |
Returns
| Type | Description |
|---|---|
| MetadataQueryBuilder | A new MetadataQueryBuilder |