public final class StitchAppClientInfo extends Object
| Constructor and Description |
|---|
StitchAppClientInfo(String clientAppId,
String dataDirectory,
String localAppName,
String localAppVersion,
CodecRegistry codecRegistry)
Constructs the
StitchAppClientInfo. |
| Modifier and Type | Method and Description |
|---|---|
String |
getClientAppId()
Gets the client app id of the Stitch application that this client communicates with.
|
CodecRegistry |
getCodecRegistry()
Returns the codec registry.
|
String |
getDataDirectory()
Gets the local directory in which Stitch can store any data (e.g.
|
String |
getLocalAppName()
Gets the name of the local application.
|
String |
getLocalAppVersion()
Gets the current version of the local application.
|
public StitchAppClientInfo(String clientAppId, String dataDirectory, String localAppName, String localAppVersion, CodecRegistry codecRegistry)
StitchAppClientInfo.clientAppId - the client app id of the Stitch application that this client is going to
communicate with.dataDirectory - the local directory in which Stitch can store any data
(e.g. embedded MongoDB data directory).localAppName - the name of the local application.localAppVersion - the current version of the local application.codecRegistry - the codec registry being used for encoding/decoding of JSON.public String getClientAppId()
public String getDataDirectory()
public String getLocalAppName()
public String getLocalAppVersion()
public CodecRegistry getCodecRegistry()