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

com.windowsazure.messaging.FcmInstallation Maven / Gradle / Ivy

Go to download

Azure Notification Hubs Java SDK for interacting with the data and management plane operations.

The newest version!
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------

package com.windowsazure.messaging;

/**
 * This class represents a Firebase Cloud Messaging installation.
 * @deprecated use {@link com.windowsazure.messaging.FcmV1Installation#FcmV1Installation(String)} instead.
 */
public class FcmInstallation extends Installation {

    /**
     * Creates a new instance of the FcmInstallation class.
     *
     * @param installationId The ID for the installation.
     */
    public FcmInstallation(String installationId) {
        super(installationId, NotificationPlatform.Gcm, null, (String[]) null);
    }

    /**
     * Creates a new instance of the FcmInstallation class.
     *
     * @param installationId The ID for the installation.
     * @param tags           The tags for the installation.
     */
    public FcmInstallation(String installationId, String... tags) {
        super(installationId, NotificationPlatform.Gcm, null, tags);
    }

    /**
     * Creates a new instance of the BaiduInstallation class.
     *
     * @param installationId The ID for the installation.
     */
    public FcmInstallation(String installationId, String pushChannel) {
        super(installationId, NotificationPlatform.Gcm, pushChannel, (String[]) null);
    }

    /**
     * Creates a new instance of the BaiduInstallation class.
     * @param installationId The ID for the installation.
     * @param pushChannel The device specific push channel for the installation.
     * @param tags The tags for the installation.
     */
    public FcmInstallation(String installationId, String pushChannel, String... tags) {
        super(installationId, NotificationPlatform.Gcm, pushChannel, tags);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy