public class iOSVariant extends Variant
| Constructor and Description |
|---|
iOSVariant() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getCertificate()
The APNs certificate that is needed to establish a connection to any
of Apple's APNs Push Servers.
|
String |
getPassphrase()
The APNs passphrase that is needed to establish a connection to any
of Apple's APNs Push Servers.
|
VariantType |
getType()
The @VariantType of the underlying variant.
|
boolean |
isProduction()
If
true a connection to Apple's Production APNs server
will be established for this iOS variant. |
void |
setCertificate(byte[] cert) |
void |
setPassphrase(String passphrase) |
void |
setProduction(boolean production) |
getDescription, getDeveloper, getName, getSecret, getVariantID, setDescription, setDeveloper, setName, setSecret, setType, setVariantIDpublic boolean isProduction()
true a connection to Apple's Production APNs server
will be established for this iOS variant.
If the method returns false a connection to
Apple's Sandbox/Development APNs server will be established
for this iOS variant.public void setProduction(boolean production)
public String getPassphrase()
public void setPassphrase(String passphrase)
public byte[] getCertificate()
public void setCertificate(byte[] cert)
public VariantType getType()
VariantCopyright © 2016 JBoss by Red Hat. All Rights Reserved.