getRingtone

Request for a ringtone for a call event.

Return

The ringtone. It can be either : android.media.Ringtone, android.media.MediaPlayerjava.io.FileDescriptor for files android.content.res.AssetFileDescriptor for assets android.net.Urinullif no ringtone should be played.

Parameters

call

The call event to get the ringtone for.