UNNotificationSound.GetSound(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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