Class FcmSendMessageResultFailureDetail


  • public class FcmSendMessageResultFailureDetail
    extends Object
    The details of an individual message failure inside an FCM send message request.
    • Constructor Detail

      • FcmSendMessageResultFailureDetail

        public FcmSendMessageResultFailureDetail​(long index,
                                                 String error,
                                                 String userId)
        Constructs a new FCM send message result failure detail.
        Parameters:
        index - the index corresponding to the target.
        error - the error that occurred.
        userId - the user id that could not be sent a message to, if applicable.
    • Method Detail

      • getIndex

        public long getIndex()
        Returns the index corresponding to the target.
        Returns:
        the index corresponding to the target.
      • getError

        @Nonnull
        public String getError()
        Returns the error that occurred.
        Returns:
        the error that occurred.
      • getUserId

        @Nullable
        public String getUserId()
        Returns the user id that could not be sent a message to, if applicable.
        Returns:
        the user id that could not be sent a message to, if applicable.