Last value the user confirmed for this contact kind, or '' if none.
(kind: string)
| 222 | |
| 223 | /** Last value the user confirmed for this contact kind, or '' if none. */ |
| 224 | public getNotificationContact(kind: string): string { |
| 225 | const v = this.readAllContacts()[kind]; |
| 226 | return typeof v === 'string' ? v : ''; |
| 227 | } |
| 228 | |
| 229 | public setNotificationContact(kind: string, value: string): void { |
| 230 | const all = this.readAllContacts(); |
no test coverage detected