日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Interface IMixedRealityDataProviderAccess

    Allows systems to provide access to their managed data providers.

    Namespace: Microsoft.MixedReality.Toolkit
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IMixedRealityDataProviderAccess

    Methods

    GetDataProvider(String)

    Get the data provider that is registered under the specified name.

    Declaration
    IMixedRealityDataProvider GetDataProvider(string name)
    Parameters
    Type Name Description
    String name

    The friendly name of the data provider.

    Returns
    Type Description
    IMixedRealityDataProvider

    The requested data provider, or null if one cannot be found.

    Remarks

    If more than one data provider is registered under the specified name, the first will be returned.

    GetDataProvider<T>(String)

    Get the data provider that is registered under the specified name (optional) and matching the specified type.

    Declaration
    T GetDataProvider<T>(string name = null)
        where T : IMixedRealityDataProvider
    Parameters
    Type Name Description
    String name

    The friendly name of the data provider.

    Returns
    Type Description
    T

    The requested data provider, or null if one cannot be found.

    Type Parameters
    Name Description
    T

    The desired data provider type.

    Remarks

    If more than one data provider is registered under the specified name, the first will be returned.

    GetDataProviders()

    Gets the collection of registered data providers.

    Declaration
    IReadOnlyList<IMixedRealityDataProvider> GetDataProviders()
    Returns
    Type Description
    IReadOnlyList<IMixedRealityDataProvider>

    Read only copy of the list of registered data providers.

    GetDataProviders<T>()

    Get the collection of registered observers of the specified type.

    Declaration
    IReadOnlyList<T> GetDataProviders<T>()
        where T : IMixedRealityDataProvider
    Returns
    Type Description
    IReadOnlyList<T>

    Read-only copy of the list of registered data providers that implement the specified type.

    Type Parameters
    Name Description
    T

    The desired data provider type

    Back to top Generated by DocFX