Table of Contents

Struct MediaError

Namespace
WebKit
Assembly
WebKit-6.0.dll

Contains all error codes of the MediaError error-domain.

public readonly ref struct MediaError
Inherited Members

Constructors

MediaError(int)

Creates a new error in the MediaError domain with a given error code.

public MediaError(int errorCode)

Parameters

errorCode int

A specific error code of the domain

Properties

Any

Can be used to match a GException with any error code of the "MediaError" error-domain.

public static Quark Any { get; }

Property Value

Quark

Load

Can be used to match a GException with the "Load" code (204).

public static MediaError Load { get; }

Property Value

MediaError

Operators

implicit operator ErrorCode(MediaError)

Converts a MediaError into a ErrorCode which can be used to match a GException.

public static implicit operator ErrorCode(MediaError e)

Parameters

e MediaError

Returns

ErrorCode