This question is locked. New answers and comments are not allowed.
Hi,
After convert the code above into VB.NET with Telerik's Code Converter, I get this error:
http://postimg.org/image/e51es70lv/
How should I modify it?
Thanks.
var notification =
new
PushNotification();
var androidNotificationPayload =
new
Dictionary<
string
,
object
>()
{
{
"data"
,
new
Dictionary<
string
,
object
>()
{
{
"title"
,
"title for android"
},
{
"message"
,
"message for android"
},
{
"customData"
,
"custom for android"
},
}
}
};
notification.Android =
new
Telerik.Everlive.Sdk.Core.Model.System.Push.Android.AndroidNotification();
foreach
(KeyValuePair<
string
,
object
> pair
in
androidNotificationPayload)
{
notification.Android.SetValue(pair.Key, pair.Value);
}
var settings =
new
EverliveAppSettings()
{
ApiKey =
"removed"
,
UseHttps =
false
};
var app =
new
EverliveApp(settings);
var result = app.WorkWith().Push().Notifications().Create(notification).ExecuteSync();
After convert the code above into VB.NET with Telerik's Code Converter, I get this error:
http://postimg.org/image/e51es70lv/
How should I modify it?
Thanks.