Partager via


UNNotificationSound.GetSound(String) Méthode

Définition

Obtient le son spécifié par 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

Paramètres

name
String

Nom du son à obtenir.

Retours

Le son spécifié par name.

Attributs

S’applique à