C# 클래스 RohBot.NotificationManager

파일 보기 프로젝트 열기: Rohansi/RohBot 1 사용 예제들

공개 메소드들

메소드 설명
Exists ( string deviceToken ) : bool
FindWithId ( long userId ) : IEnumerable
Get ( string deviceToken ) : Notification
HandleMessage ( Room room, Message message ) : void
InvalidateNotificationCache ( ) : void
NotificationManager ( ) : RohBot.Packets

비공개 메소드들

메소드 설명
IsMatch ( Regex regex, string input ) : bool
Notify ( List deviceTokens, string message ) : System.Threading.Tasks.Task
PostNotificationRequest ( OneSignalNotificationPacket notificationPacket ) : System.Threading.Tasks.Task

메소드 상세

Exists() 공개 메소드

public Exists ( string deviceToken ) : bool
deviceToken string
리턴 bool

FindWithId() 공개 메소드

public FindWithId ( long userId ) : IEnumerable
userId long
리턴 IEnumerable

Get() 공개 메소드

public Get ( string deviceToken ) : Notification
deviceToken string
리턴 Notification

HandleMessage() 공개 메소드

public HandleMessage ( Room room, Message message ) : void
room RohBot.Rooms.Room
message RohBot.Packets.Message
리턴 void

InvalidateNotificationCache() 공개 메소드

public InvalidateNotificationCache ( ) : void
리턴 void

NotificationManager() 공개 메소드

public NotificationManager ( ) : RohBot.Packets
리턴 RohBot.Packets