C# Класс Pushover_plugin.WebhookDestination

Наследование: Growl.Destinations.ForwardDestination
Показать файл Открыть проект

Открытые методы

Метод Описание
Clone ( ) : Growl.Destinations.DestinationBase

Clones this instance.

ConvertNotificationStyle ( Growl notification ) : int

Converts Growl styled notifcations to Pushover Styled notifications

ForwardNotification ( Growl notification, Growl callbackContext, Growl requestInfo, bool isIdle, Growl.Destinations.ForwardDestination callbackFunction ) : void

Called when a notification is received by GfW.

ForwardRegistration ( Growl application, List notificationTypes, Growl requestInfo, bool isIdle ) : void

Called when an application registration is received by GfW.

GetIcon ( ) : System.Drawing.Image

Gets the icon that represents this type of forwarder.

ReturnDeviceName ( string device ) : string
ReturnSoundName ( int selectedSound ) : string
WebhookDestination ( string name, string api, bool sendIfIdle, int selectedpriority, int selectedSound, string device ) : System

Initializes a new instance of the WebhookDestination class.

converttolocal ( int priority ) : int

Converts Selected Priority to mode styled priorty

Описание методов

Clone() публичный Метод

Clones this instance.
public Clone ( ) : Growl.Destinations.DestinationBase
Результат Growl.Destinations.DestinationBase

ConvertNotificationStyle() публичный Метод

Converts Growl styled notifcations to Pushover Styled notifications
public ConvertNotificationStyle ( Growl notification ) : int
notification Growl The notification information
Результат int

ForwardNotification() публичный Метод

Called when a notification is received by GfW.
public ForwardNotification ( Growl notification, Growl callbackContext, Growl requestInfo, bool isIdle, Growl.Destinations.ForwardDestination callbackFunction ) : void
notification Growl The notification information
callbackContext Growl The callback context.
requestInfo Growl The request info.
isIdle bool true if the user is currently idle;false otherwise
callbackFunction Growl.Destinations.ForwardDestination The function GfW will run if this notification is responded to on the forwarded computer
Результат void

ForwardRegistration() публичный Метод

Called when an application registration is received by GfW.
public ForwardRegistration ( Growl application, List notificationTypes, Growl requestInfo, bool isIdle ) : void
application Growl The application.
notificationTypes List The notification types.
requestInfo Growl The request info.
isIdle bool true if the user is currently idle;false otherwise
Результат void

GetIcon() публичный Метод

Gets the icon that represents this type of forwarder.
public GetIcon ( ) : System.Drawing.Image
Результат System.Drawing.Image

ReturnDeviceName() публичный Метод

public ReturnDeviceName ( string device ) : string
device string
Результат string

ReturnSoundName() публичный Метод

public ReturnSoundName ( int selectedSound ) : string
selectedSound int
Результат string

WebhookDestination() публичный Метод

Initializes a new instance of the WebhookDestination class.
public WebhookDestination ( string name, string api, bool sendIfIdle, int selectedpriority, int selectedSound, string device ) : System
name string
api string
sendIfIdle bool
selectedpriority int
selectedSound int
device string
Результат System

converttolocal() публичный Метод

Converts Selected Priority to mode styled priorty
public converttolocal ( int priority ) : int
priority int
Результат int