MessagingDevicesResponse interface

Returned by Messaging.sendToDevice(), which is also deprecated.

Interface representing the status of a message sent to an individual device via the FCM legacy APIs.

See Send to individual devices for code samples and detailed documentation.

Signature:

export interface MessagingDevicesResponse 

Properties

Property Type Description
canonicalRegistrationTokenCount number
failureCount number
multicastId number
results MessagingDeviceResult[]
successCount number

MessagingDevicesResponse.canonicalRegistrationTokenCount

Signature:

canonicalRegistrationTokenCount: number;

MessagingDevicesResponse.failureCount

Signature:

failureCount: number;

MessagingDevicesResponse.multicastId

Signature:

multicastId: number;

MessagingDevicesResponse.results

Signature:

results: MessagingDeviceResult[];

MessagingDevicesResponse.successCount

Signature:

successCount: number;