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;
}