Show / Hide Table of Contents

Class ISN_UNNotificationSound

A sound to be played when a notification is delivered.

Inheritance
System.Object
ISN_UNNotificationSound
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.UserNotifications
Assembly: cs.temp.dll.dll
Syntax
public class ISN_UNNotificationSound

Constructors

ISN_UNNotificationSound(String)

Creates new ISN_UNNotificationSound object with sounds name.

Declaration
public ISN_UNNotificationSound(string name)
Parameters
Type Name Description
System.String name

The name of the sound file.

Properties

DefaultSound

Returns an object representing the default sound for notifications.

Declaration
public static ISN_UNNotificationSound DefaultSound { get; }
Property Value
Type Description
ISN_UNNotificationSound

SoundName

Sound file name

Declaration
public string SoundName { get; }
Property Value
Type Description
System.String

The name of the sound.

Methods

SoundNamed(String)

Creates and returns a notification sound object that plays the specified sound file.

Make sure you've added sounds file to the XCode project with IOS Deploy settings Stan's Assets -> IOS Deploy Pro -> Setting and look for a files section

Also feel free to use another ways of adding sound ot the XCode project. Just keep in mind that file must be located in the current executable’s main bundle or in the Library/Sounds directory of the current app container directory.

Declaration
public static ISN_UNNotificationSound SoundNamed(string name)
Parameters
Type Name Description
System.String name

The name of the sound file to play. This file must be located in the current executable’s main bundle.

Returns
Type Description
ISN_UNNotificationSound
In This Article
Back to top Generated by DocFX