NotificationEvents.d.ts 499 Bytes
Newer Older
冷佳娟's avatar
冷佳娟 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
import { Notification } from '../DTO/Notification';
import { NotificationActionResponse } from './NotificationActionResponse';
export interface Registered {
    deviceToken: string;
}
export interface RegistrationError {
    code: string;
    domain: string;
    localizedDescription: string;
}
export interface RegisteredPushKit {
    pushKitToken: string;
}
export interface NotificationResponse {
    identifier: string;
    notification: Notification;
    action?: NotificationActionResponse;
}