-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Added Channel Group #2607
base: master
Are you sure you want to change the base?
Added Channel Group #2607
Changes from 11 commits
e279230
7409827
5c6b906
c84a968
157ecc5
3fbcffa
ad3cf96
9f93723
c986805
97e046c
82201b7
bc1c552
5abe309
27149d8
14a0f58
8bac264
9510d9f
3feeaab
fe9e7c0
f3df474
8a61e7c
617892f
05f5553
891023a
8a4ca82
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -289,10 +289,61 @@ declare namespace PhonegapPluginPush { | |
| from?: string | ||
| notId?: string | ||
| } | ||
|
|
||
| /** | ||
| * Set Channel Variable,once created cannot be changed programmtically for importance and vibration | ||
| */ | ||
| interface channel{ | ||
| /** | ||
| * channel ID | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| id: string | ||
| /** | ||
| * camillebeaumont name and description fix | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are these notes to fix later? We don't have the
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yup based on a previous pull request |
||
| */ | ||
| name: string | ||
| /** | ||
| * camillebeaumont name and description fix,channel description | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| description: string | ||
| /** | ||
| * channel importance level | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| importance: integer | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| /** | ||
OliverOng1995 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| * enable vibration for the notification | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| vibration: boolean | ||
| /** | ||
| * Set notitfication visibility | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| visibility: integer | ||
|
||
| /** | ||
| * Set Channel Group | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| groupId:string | ||
OliverOng1995 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
|
|
||
| interface channelGroup{ | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| /** | ||
| * Set Channel Group ID | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| id: string | ||
| /** | ||
| * Set Channel Group Name | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| */ | ||
| name: string | ||
|
||
| } | ||
|
|
||
| interface PushNotificationStatic { | ||
| init(options: InitOptions): PushNotification | ||
| new (options: InitOptions): PushNotification | ||
| hasPermission(successHandler: () => any): void | ||
| createChannel(successHandler: () => any, errorHandler: () => any,channel): void | ||
| listChannels(successHandler: () => any): void | ||
| deleteChannel(successHandler: () => any, errorHandler: () => any, channelId: string ): void | ||
| createChannelGroup(successHandler: () => any, errorHandler: () => any,channelGroup): void | ||
OliverOng1995 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| listChannelGroups(successHandler: () => any): void | ||
| deleteChannelGroup(successHandler: () => any, errorHandler: () => any, channelGroupId: string ): void | ||
| } | ||
| } | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.