NotificationCategory.d.ts 699 Bytes
Newer Older
冷佳娟's avatar
冷佳娟 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
export declare class NotificationCategory {
    identifier: string;
    actions: [NotificationAction?];
    constructor(identifier: string, actions: [NotificationAction?]);
}
export interface NotificationTextInput {
    buttonTitle: string;
    placeholder: string;
}
export declare class NotificationAction {
    identifier: string;
    activationMode: 'foreground' | 'authenticationRequired' | 'destructive';
    title: string;
    authenticationRequired: boolean;
    textInput: NotificationTextInput;
    constructor(identifier: string, activationMode: 'foreground' | 'authenticationRequired' | 'destructive', title: string, authenticationRequired: boolean, textInput: NotificationTextInput);
}