MessagingDevicesResponse interface

Messaging.sendToDevice() 에 의해 반환됨 , 이 또한 더 이상 사용되지 않습니다.

FCM 레거시 API를 통해 개별 장치로 전송된 메시지의 상태를 나타내는 인터페이스입니다.

코드 샘플 및 자세한 문서는 개별 장치로 보내기를 참조하세요.

서명:

export interface MessagingDevicesResponse 

속성

재산 유형 설명
canonicalRegistrationTokenCount 숫자
실패 횟수 숫자
멀티캐스트 ID 숫자
결과 메시징장치결과 []
성공횟수 숫자

MessagingDevicesResponse.canonicalRegistrationTokenCount

서명:

canonicalRegistrationTokenCount: number;

MessagingDevicesResponse.failureCount

서명:

failureCount: number;

MessagingDevicesResponse.multicastId

서명:

multicastId: number;

MessagingDevicesResponse.results

서명:

results: MessagingDeviceResult[];

MessagingDevicesResponse.successCount

서명:

successCount: number;