Click or drag to resize
How To Use YALLA.NET with Google APIs Client

[This is preliminary documentation and is subject to change.]

In order to use YALLA.NET with the Google APIs Client library, the YALLA.NET Google APIs Client library must be added as a dependency to the main project, and the Google APIs Client library must be properly configured.

  1. Enter the following command into the Package Manager Console:

    Install-Package Yalla.GoogleApis

    If the solution contains multiple projects, the command above should be followed by the project name.

    Alternatively, you may use the Manage NuGet Packages window. If you do, make sure that the package ID is Yalla.GoogleApis.

    Note Note
    The primary YALLA.NET library and the YALLA.NET Core library will be installed automatically.
    Caution note Caution

    The minimum supported Google APIs Client version is 1.9.2.

  2. Add the following call to application startup:

    C#
    Google.ApplicationContext.RegisterLogger(Yalla.GoogleApis.YallaLogger.Instance);
    Note Note

    This call must follow YALLA.NET initialization and precede any Google API service initialization.

See Also