public final class CaptainUpConnectionFactory
extends java.lang.Object
Captain Up Connections
.Modifier and Type | Method and Description |
---|---|
static CaptainUpConnection |
createConnection(java.lang.String url,
java.lang.String appId,
java.lang.String mobileToken)
Creates a new Captain Up Connection object.
|
public static CaptainUpConnection createConnection(java.lang.String url, java.lang.String appId, java.lang.String mobileToken)
url
- the URL to the captain up site. Usually would be: https://captainup.comappId
- the ID of the application to connect to.
See the Captain Up Admin Panel -> Settings -> General Settings -> API Key.mobileToken
- the application's mobile token.
See the Captain Up Admin Panel -> Settings -> General Settings -> Client Token.