編輯

共用方式為


MPErrorCodeExtensions Class

Definition

Extension methods for the MediaPlayer.MPErrorCode enumeration.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, 2, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public static class MPErrorCodeExtensions
type MPErrorCodeExtensions = class
Inheritance
MPErrorCodeExtensions
Attributes

Remarks

The extension method for the MediaPlayer.MPErrorCode enumeration can be used to fetch the error domain associated with these error codes.

Methods

GetDomain(MPErrorCode)

Returns the error domain associated with the MediaPlayer.MPErrorCode value

Applies to