C# Class Appverse.Core.PushNotifications.AbstractPushNotifications

Inheritance: IPushNotifications, IWeakDelegateManager
Afficher le fichier Open project: Appverse/appverse-mobile

Méthodes publiques

Méthode Description
AbstractPushNotifications ( ) : System
DidRegisterUserNotificationSettings ( UIApplication application, UIUserNotificationSettings notificationSettings ) : void
FailedToRegisterForRemoteNotifications ( UIApplication application, NSError error ) : void
FinishedLaunching ( UIApplication application, NSDictionary launchOptions ) : void
OnActivated ( UIApplication application ) : void
ReceivedRemoteNotification ( UIApplication application, NSDictionary userInfo ) : void
RegisterForRemoteNotifications ( string senderId, RemoteNotificationType types ) : void
RegisteredForRemoteNotifications ( UIApplication application, NSData deviceToken ) : void
UnRegisterForRemoteNotifications ( ) : void
WebViewLoadingFinished ( UIApplicationState applicationState, NSDictionary options ) : void
processNotification ( NSDictionary options, bool fromFinishedLaunching, UIApplicationState applicationState ) : void

Processes the notification.

Private Methods

Méthode Description
PlayNotificationSound ( String soundName ) : void
ProcessRemoteNotification ( NSDictionary options, bool fromFinishedLaunching, UIApplicationState applicationState ) : void
ShowNotificationAlert ( string title, string message ) : void

Manually shows a notification alert.

UpdateApplicationIconBadgeNumber ( int badge ) : void

Method Details

AbstractPushNotifications() public méthode

public AbstractPushNotifications ( ) : System
Résultat System

DidRegisterUserNotificationSettings() public méthode

public DidRegisterUserNotificationSettings ( UIApplication application, UIUserNotificationSettings notificationSettings ) : void
application UIApplication
notificationSettings UIUserNotificationSettings
Résultat void

FailedToRegisterForRemoteNotifications() public méthode

public FailedToRegisterForRemoteNotifications ( UIApplication application, NSError error ) : void
application UIApplication
error NSError
Résultat void

FinishedLaunching() public méthode

public FinishedLaunching ( UIApplication application, NSDictionary launchOptions ) : void
application UIApplication
launchOptions NSDictionary
Résultat void

OnActivated() public méthode

public OnActivated ( UIApplication application ) : void
application UIApplication
Résultat void

ReceivedRemoteNotification() public méthode

public ReceivedRemoteNotification ( UIApplication application, NSDictionary userInfo ) : void
application UIApplication
userInfo NSDictionary
Résultat void

RegisterForRemoteNotifications() public abstract méthode

public abstract RegisterForRemoteNotifications ( string senderId, RemoteNotificationType types ) : void
senderId string
types RemoteNotificationType
Résultat void

RegisteredForRemoteNotifications() public méthode

public RegisteredForRemoteNotifications ( UIApplication application, NSData deviceToken ) : void
application UIApplication
deviceToken NSData
Résultat void

UnRegisterForRemoteNotifications() public abstract méthode

public abstract UnRegisterForRemoteNotifications ( ) : void
Résultat void

WebViewLoadingFinished() public méthode

public WebViewLoadingFinished ( UIApplicationState applicationState, NSDictionary options ) : void
applicationState UIApplicationState
options NSDictionary
Résultat void

processNotification() public static méthode

Processes the notification.
public static processNotification ( NSDictionary options, bool fromFinishedLaunching, UIApplicationState applicationState ) : void
options NSDictionary Options.
fromFinishedLaunching bool True if this method comes from the 'FinishedLaunching' delegated method
applicationState UIApplicationState The application state that received the remote notification
Résultat void