C# Class Sport.Service.Controllers.NotificationController

Inheritance: ApiController
显示文件 Open project: xamarin/Sport

Public Methods

Method Description
NotifyByTag ( string message, string tag, Sport.Shared.NotificationPayload payload = null, int badgeCount = null ) : System.Threading.Tasks.Task
NotifyByTags ( string message, List tags, Sport.Shared.NotificationPayload payload = null, int badgeCount = null ) : System.Threading.Tasks.Task

Protected Methods

Method Description
Initialize ( System.Web.Http.Controllers.HttpControllerContext controllerContext ) : void

Private Methods

Method Description
Delete ( string id ) : Task
RegisterWithHub ( Sport.Shared.DeviceRegistration deviceUpdate ) : Task
ReturnGoneIfHubResponseIsGone ( MessagingException e ) : void
SendTestPushNotification ( string athleteId ) : System.Threading.Tasks.Task

Method Details

Initialize() protected method

protected Initialize ( System.Web.Http.Controllers.HttpControllerContext controllerContext ) : void
controllerContext System.Web.Http.Controllers.HttpControllerContext
return void

NotifyByTag() public method

public NotifyByTag ( string message, string tag, Sport.Shared.NotificationPayload payload = null, int badgeCount = null ) : System.Threading.Tasks.Task
message string
tag string
payload Sport.Shared.NotificationPayload
badgeCount int
return System.Threading.Tasks.Task

NotifyByTags() public method

public NotifyByTags ( string message, List tags, Sport.Shared.NotificationPayload payload = null, int badgeCount = null ) : System.Threading.Tasks.Task
message string
tags List
payload Sport.Shared.NotificationPayload
badgeCount int
return System.Threading.Tasks.Task