Table of Contents

Class DVDDomainChangedEventArgs

Namespace
VisioForge.Core.Types.Events
Assembly
VisioForge.Core.dll

Provides data for the DVD domain changed event.

public class DVDDomainChangedEventArgs : EventArgs

Inheritance

Inherited Members

Examples

player.OnDVDDomainChanged += (sender, e) =>
{
    switch (e.Domain)
    {
        case DVDDomain.Title:
            Console.WriteLine("Now playing DVD title content");
            break;
        case DVDDomain.Menu:
            Console.WriteLine("Entered DVD menu");
            break;
    }
};

Remarks

This event is raised when the DVD player transitions between different DVD domains (areas of functionality).

DVD domains represent different states of DVD playback, such as the main menu, title content, or video manager menu.

Understanding domain changes is crucial for DVD navigation and user interface updates.

Constructors

DVDDomainChangedEventArgs(DVDDomain)

Initializes a new instance of the VisioForge.Core.Types.Events.DVDDomainChangedEventArgs class.

public DVDDomainChangedEventArgs(DVDDomain domain)

Parameters

domain DVDDomain

The DVD domain that the player has transitioned to.

Remarks

This constructor is typically called internally by the DVD player when domain transitions occur.

Exceptions

ArgumentException

Thrown when an invalid domain value is provided.

Properties

Domain

Gets the current DVD domain.

public DVDDomain Domain { get; }

Property Value

DVDDomain

Remarks

The domain indicates which functional area of the DVD is currently active, such as title content, menus, or stop state.