getSound

fun getSound(context: Context): Uri?(source)

Deprecated

This setting does not work on Android O+. Applications are encouraged to use {@link NotificationChannelRegistry} instead.

Gets the sound of the notification.

Return

The sound of the notification.

Parameters

context

The application context.