All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.fcm.v1.FirebaseCloudMessaging.Projects.Messages.html Maven / Gradle / Ivy

There is a newer version: v1-rev20250228-2.0.0
Show newest version






FirebaseCloudMessaging.Projects.Messages (Firebase Cloud Messaging API v1-rev20241112-2.0.0)












com.google.api.services.fcm.v1

Class FirebaseCloudMessaging.Projects.Messages

  • java.lang.Object
    • com.google.api.services.fcm.v1.FirebaseCloudMessaging.Projects.Messages
    • Constructor Detail

      • Messages

        public Messages()
    • Method Detail

      • send

        public FirebaseCloudMessaging.Projects.Messages.Send send(String parent,
                                                                  SendMessageRequest content)
                                                           throws IOException
        Send a message to specified target (a registration token, topic or condition). Create a request for the method "messages.send". This request holds the parameters needed by the fcm server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        parent - Required. It contains the Firebase project id (i.e. the unique identifier for your Firebase project), in the format of `projects/{project_id}`. For legacy support, the numeric project number with no padding is also supported in the format of `projects/{project_number}`.
        content - the SendMessageRequest
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy