YandexMetricaFolder class

yandex.metrica

public class YandexMetricaFolder

The class method is used to set the path to the AppMetrica service folder. It stores files that are required for the library.

This class is only available for desktop applications.

Methods

void SetCurrent(string path)

Устанавливает путь к папке, в которой будут храниться служебные файлы AppMetrica.

void SetCurrent(string path)

Устанавливает путь к папке, в которой будут храниться служебные файлы AppMetrica.

Properties

string Current

Returns the path to the folder where AppMetrica service files are stored.

string Current

Returns the path to the folder where AppMetrica service files are stored.

Method descriptions

SetCurrent

public static void SetCurrent(string path)

Sets the directory for storing AppMetrica files.

The app must have access rights to read this directory and write files to it. Otherwise, the library won't function correctly
Parameters:
path The path to the folder for storing AppMetrica service files.
path The path to the folder for storing AppMetrica service files.

Property descriptions

Current

public static string Current { get; }

Returns the path to the folder where AppMetrica service files are stored.