ChatterBox.Server.PushNotificationSender.GetHeaderType C# (CSharp) Method

GetHeaderType() private static method

private static GetHeaderType ( NotificationType type ) : string
type NotificationType
return string
        private static string GetHeaderType(NotificationType type)
        {
            string ret = null;
            switch (type)
            {
                case NotificationType.Badge:
                    ret = "wns/badge";
                    break;
                case NotificationType.Tile:
                    ret = "wns/tile";
                    break;
                case NotificationType.Toast:
                    ret = "wns/toast";
                    break;
                case NotificationType.Raw:
                    ret = "wns/raw";
                    break;
                default:
                    ret = "wns/raw";
                    break;
            }
            return ret;
        }