yavsc/Yavsc/Services/IGoogleCloudMessageSender.cs

22 lines
611 B
C#
Raw Normal View History

2016-05-17 18:22:18 +02:00
using System.Collections.Generic;
2016-05-17 18:22:18 +02:00
using System.Threading.Tasks;
using Yavsc.Models.Google.Messaging;
using Yavsc.Models.Messaging;
namespace Yavsc.Services
{
public interface IGoogleCloudMessageSender
{
2016-12-11 14:45:51 +01:00
Task<MessageWithPayloadResponse> NotifyBookQueryAsync(
GoogleAuthSettings googlesettings,
IEnumerable<string> registrationId,
BookQueryEvent ev);
Task<MessageWithPayloadResponse> NotifyEstimateAsync(
GoogleAuthSettings googlesettings,
IEnumerable<string> registrationId,
EstimationEvent ev);
2016-05-17 18:22:18 +02:00
}
}