Table of Contents

Class GlobalContext

Namespace
VAST.Common
Assembly
VAST.Common.Ext.Android.dll

Provides global access to the Android application context and main activity. Must be initialized by the application during startup before using VAST components.

public static class GlobalContext
Inheritance
GlobalContext
Inherited Members

Properties

Context

Gets or sets the Android application context. Required for accessing system services.

public static Context Context { get; set; }

Property Value

Context

MainActivity

Gets or sets the main activity of the application. Required for UI-related operations.

public static Activity MainActivity { get; set; }

Property Value

Activity