BlackBerry.SoundPlayer.GetSoundName C# (CSharp) Method

GetSoundName() private static method

private static GetSoundName ( SystemSound sound ) : string
sound SystemSound
return string
        private static string GetSoundName(SystemSound sound)
        {
            switch (sound) {
            case SystemSound.InputKeypress: return "input_keypress";
            case SystemSound.NotificationSapphire: return "notification_sapphire";
            case SystemSound.AlarmBattery: return "alarm_battery";
            case SystemSound.EventBrowserStart: return "event_browser_start";
            case SystemSound.EventCameraShutter: return "event_camera_shutter";
            case SystemSound.EventRecordingStart: return "event_recording_start";
            case SystemSound.EventRecordingStop: return "event_recording_stop";
            case SystemSound.EventDeviceLock: return "event_device_lock";
            case SystemSound.EventDeviceUnlock: return "event_device_unlock";
            case SystemSound.EventDeviceTether: return "event_device_tether";
            case SystemSound.EventDeviceUntether: return "event_device_untether";
            case SystemSound.EventVideoCall: return "event_video_call";
            case SystemSound.EventVideoCallOutgoing: return "event_video_call_outgoing";
            case SystemSound.SystemMasterVolumeReference: return "system_master_volume_reference";
            case SystemSound.NotificationGeneral:
            default:
                return "notification_general";
            }
        }