C# Class Unity.Platform.IPhone.IPhoneNotification

Inheritance: Unity.Core.Notification.AbstractNotification
Show file Open project: Appverse/appverse-mobile Class Usage Examples

Public Methods

Method Description
CancelAllLocalNotifications ( ) : void
CancelLocalNotification ( System.DateTime fireDate ) : void
DecrementApplicationIconBadgeNumber ( ) : void
IncrementApplicationIconBadgeNumber ( ) : void
IsNotifyActivityRunning ( ) : bool
IsNotifyLoadingRunning ( ) : bool
PresentLocalNotificationNow ( NotificationData notification ) : void
ScheduleLocalNotification ( NotificationData notification, Unity.Core.Notification.SchedulingData schedule ) : void
SetApplicationIconBadgeNumber ( int badge ) : void
StartNotifyActionSheet ( string title, string buttons, string javascriptCallBackFunctions ) : bool
StartNotifyActivity ( ) : bool
StartNotifyAlert ( string message ) : bool
StartNotifyAlert ( string title, string message, string buttonText ) : bool
StartNotifyBeep ( ) : bool
StartNotifyBlink ( ) : bool
StartNotifyLoading ( string loadingText ) : bool

StartNotifyVibrate ( ) : bool
StopNotifyActivity ( ) : bool
StopNotifyAlert ( ) : bool
StopNotifyBeep ( ) : bool
StopNotifyBlink ( ) : bool
StopNotifyLoading ( ) : bool
StopNotifyVibrate ( ) : bool
UpdateNotifyLoading ( float progress ) : void

Private Methods

Method Description
DismissLoading ( ) : void
GetCurrentScheduledLocalNotifications ( ) : int

Gets the current scheduled local notifications. SHOULD BE USED (INVOKED) INSIDE AN UIApplication.InvokeOnMainThread block.

PlayVibration ( ) : void
PrepareLocalNotification ( NotificationData notification ) : UILocalNotification
ShowActionSheet ( object sheet ) : void
ShowAlert ( object alertData ) : void
ShowLoading ( object text ) : void

Method Details

CancelAllLocalNotifications() public method

public CancelAllLocalNotifications ( ) : void
return void

CancelLocalNotification() public method

public CancelLocalNotification ( System.DateTime fireDate ) : void
fireDate System.DateTime
return void

DecrementApplicationIconBadgeNumber() public method

public DecrementApplicationIconBadgeNumber ( ) : void
return void

IncrementApplicationIconBadgeNumber() public method

public IncrementApplicationIconBadgeNumber ( ) : void
return void

IsNotifyActivityRunning() public method

public IsNotifyActivityRunning ( ) : bool
return bool

IsNotifyLoadingRunning() public method

public IsNotifyLoadingRunning ( ) : bool
return bool

PresentLocalNotificationNow() public method

public PresentLocalNotificationNow ( NotificationData notification ) : void
notification Unity.Core.Notification.NotificationData
return void

ScheduleLocalNotification() public method

public ScheduleLocalNotification ( NotificationData notification, Unity.Core.Notification.SchedulingData schedule ) : void
notification Unity.Core.Notification.NotificationData
schedule Unity.Core.Notification.SchedulingData
return void

SetApplicationIconBadgeNumber() public method

public SetApplicationIconBadgeNumber ( int badge ) : void
badge int
return void

StartNotifyActionSheet() public method

public StartNotifyActionSheet ( string title, string buttons, string javascriptCallBackFunctions ) : bool
title string
buttons string
javascriptCallBackFunctions string
return bool

StartNotifyActivity() public method

public StartNotifyActivity ( ) : bool
return bool

StartNotifyAlert() public method

public StartNotifyAlert ( string message ) : bool
message string
return bool

StartNotifyAlert() public method

public StartNotifyAlert ( string title, string message, string buttonText ) : bool
title string
message string
buttonText string
return bool

StartNotifyBeep() public method

public StartNotifyBeep ( ) : bool
return bool

StartNotifyBlink() public method

public StartNotifyBlink ( ) : bool
return bool

StartNotifyLoading() public method

public StartNotifyLoading ( string loadingText ) : bool
loadingText string /// A ///
return bool

StartNotifyVibrate() public method

public StartNotifyVibrate ( ) : bool
return bool

StopNotifyActivity() public method

public StopNotifyActivity ( ) : bool
return bool

StopNotifyAlert() public method

public StopNotifyAlert ( ) : bool
return bool

StopNotifyBeep() public method

public StopNotifyBeep ( ) : bool
return bool

StopNotifyBlink() public method

public StopNotifyBlink ( ) : bool
return bool

StopNotifyLoading() public method

public StopNotifyLoading ( ) : bool
return bool

StopNotifyVibrate() public method

public StopNotifyVibrate ( ) : bool
return bool

UpdateNotifyLoading() public method

public UpdateNotifyLoading ( float progress ) : void
progress float
return void