{
case Interop.PushClient.ServiceError.OutOfMemory:
{
- Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.OutOfMemory");
+ Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.OutOfMemory");
exp = new InvalidOperationException("Memory Not Sufficient for the current operation");
break;
}
case Interop.PushClient.ServiceError.InvalidParameter:
{
- Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.InvalidParameter");
+ Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.InvalidParameter");
exp = new InvalidOperationException("The Parameter Passed was Invalid or Invalid Operation Intented");
break;
}
case Interop.PushClient.ServiceError.NotConnected:
{
- Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.NotConnected");
+ Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.NotConnected");
exp = new InvalidOperationException("Not Connected to Server");
break;
}
case Interop.PushClient.ServiceError.NoData:
{
- Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.NoData");
+ Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.NoData");
exp = new InvalidOperationException("No Data");
break;
}
case Interop.PushClient.ServiceError.OpearationFailed:
{
- Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.OpearationFailed");
+ Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.OpearationFailed");
exp = new InvalidOperationException("Operation Failed");
break;
}
case Interop.PushClient.ServiceError.PermissionDenied:
{
- Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.PermissionDenied");
+ Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.PermissionDenied");
exp = new InvalidOperationException("Permission Denied");
break;
}
case Interop.PushClient.ServiceError.NotSupported:
{
- Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.Push.ServiceError.NotSupported");
+ Tizen.Log.Error(Interop.PushClient.LogTag, "Interop.PushClient.ServiceError.NotSupported");
exp = new InvalidOperationException("Not Supported");
break;
}
PushConnectionStateEventArgs args = new PushConnectionStateEventArgs((PushConnectionStateEventArgs.PushState)state, err);
PushClient.StateChange(args);
};
- Interop.Push.VoidNotifyCallback notifyDelegate = (IntPtr notification, IntPtr userData) =>
+ Interop.PushClient.VoidNotifyCallback notifyDelegate = (IntPtr notification, IntPtr userData) =>
{
Interop.PushClient.ServiceError result;
PushMessageEventArgs ob = new PushMessageEventArgs();
ob.Type = type;
}
PushClient.Notify(ob);
- //Interop.Push.FreeNotification(notification);
+ //Interop.PushClient.FreeNotification(notification);
Log.Info(Interop.PushClient.LogTag, "Free Notification Done");
};
- Interop.PushClient.ServiceError connectResult = Interop.Push.ServiceConnect(pushAppId, stateDelegate, notifyDelegate, IntPtr.Zero, out _connection);
+ Interop.PushClient.ServiceError connectResult = Interop.PushClient.ServiceConnect(pushAppId, stateDelegate, notifyDelegate, IntPtr.Zero, out _connection);
if (connectResult != Interop.PushClient.ServiceError.None)
{
Log.Error(Interop.PushClient.LogTag, "Connect failed with " + connectResult);
}
};
Interop.PushClient.ServiceError result = Interop.PushClient.ServiceRegister(_connection, registerResult, IntPtr.Zero);
- Log.Info(Interop.PushClient.LogTag, "Interop.Push.ServiceRegister Completed");
+ Log.Info(Interop.PushClient.LogTag, "Interop.PushClient.ServiceRegister Completed");
if (result != Interop.PushClient.ServiceError.None)
{
Log.Error(Interop.PushClient.LogTag, "Register failed with " + result);