public final class PushChannelFactory extends Object
Constructor and Description |
---|
PushChannelFactory() |
Modifier and Type | Method and Description |
---|---|
static IPushChannel |
getFirebaseChannel(String channelName,
String token)
Create a new instance of IPushChannel, specific for Firebase Cloud Messaging provider.
|
static IPushChannel |
getParseChannel(String channelName,
String installationId)
Deprecated.
|
@Deprecated public static IPushChannel getParseChannel(String channelName, String installationId)
PushChannelFactory.getFirebaseChannel(String, String)
.channelName
- The channel name.installationId
- The installation ID.IPushChannel
with the given parameters.public static IPushChannel getFirebaseChannel(String channelName, String token)
channelName
- The channel name.token
- The Firebase token. See FirebaseInstanceId.getToken()IPushChannel
with the given parameters.Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.