Table of Contents

Class AppleGlobal

Namespace
VAST.Platform
Assembly
VAST.Common.Ext.iOS.dll

iOS-specific global initialization and configuration class extending AppleGlobalCommon. Provides platform initialization, audio session configuration, and rendering options.

public class AppleGlobal : AppleGlobalCommon
Inheritance
AppleGlobal
Inherited Members

Constructors

AppleGlobal()

public AppleGlobal()

Properties

ForceSafeVideoRendering

Gets or sets whether safe video rendering should be forced on iOS prior to version 17. By default high performance rendering is used to minimize CPU usage and memory copies. However, on certain sources and especially when multiple player instances are used it can lead to an application crash. If you experience such crashes then it's highly recommended to set this parameter to true. The value doesn't affect iOS 17 or newer because the issue doesn't occur on it. The default value is false, i.e. safe rendering is disabled and high performance one is used.

public static bool ForceSafeVideoRendering { get; set; }

Property Value

bool

Methods

DisableNap()

Disables App Nap for the current process to prevent macOS from throttling the application when it's in the background. Uses NSProcessInfo.BeginActivity with latency-critical options.

public static void DisableNap()

Initialize()

Initializes the platform. Currently a no-op placeholder for future initialization logic.

public static void Initialize()