yavsc/ZicMoove/ZicMoove.Droid/Services/GCMHandlers/Abstract/GCMessageHandler.cs

32 lines
921 B
C#
Raw Normal View History

2017-01-18 13:12:12 +01:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
2017-01-26 13:00:31 +01:00
using ZicMoove.Droid.Interfaces;
2017-01-18 13:12:12 +01:00
2017-01-26 13:00:31 +01:00
namespace ZicMoove.Droid.Services.GCMHandlers
2017-01-18 13:12:12 +01:00
{
2017-03-03 00:10:42 +01:00
public abstract class GCMessageHandler : IGCMessageHandler
2017-01-18 13:12:12 +01:00
{
protected Context context;
protected NotificationManager notificationManager;
protected Notification.Builder notificationBuilder;
public GCMessageHandler(Context context,
NotificationManager notificationManager,
Notification.Builder notificationBuilder)
{
this.context = context;
this.notificationBuilder = notificationBuilder;
this.notificationManager = notificationManager;
}
public abstract void Handle(string from, Bundle data);
}
}