Upravit

Sdílet prostřednictvím


UNNotificationSound.GetSound(String) Method

Definition

Gets the sound that is specified by name.

[Foundation.Export("soundNamed:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UserNotifications.UNNotificationSound GetSound (string name);
static member GetSound : string -> UserNotifications.UNNotificationSound

Parameters

name
String

The name of the sound to get.

Returns

The sound that is specified by name.

Attributes

Applies to