public static final class NativeMetaClient.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NativeMetaClient.Builder |
appName(String value) |
NativeMetaClient.Builder |
appVersion(String value) |
MetaClient |
build() |
NativeMetaClient.Builder |
dataCenter(String value) |
NativeMetaClient.Builder |
deviceName(String value) |
NativeMetaClient.Builder |
deviceUniqueId(String value)
A unique fingerprint for this device.
|
NativeMetaClient.Builder |
logger(Logger value) |
NativeMetaClient.Builder |
networkRequestProcessor(NetworkRequestProcessor value) |
NativeMetaClient.Builder |
platform(Platform value) |
NativeMetaClient.Builder |
platformSubtype(String value)
Operating system architecture.
|
NativeMetaClient.Builder |
platformVersion(String value)
Operating system version.
|
NativeMetaClient.Builder |
scopes(String[] value) |
NativeMetaClient.Builder |
server(String value) |
public MetaClient build()
public NativeMetaClient.Builder appName(String value)
public NativeMetaClient.Builder appVersion(String value)
public NativeMetaClient.Builder deviceUniqueId(String value)
public NativeMetaClient.Builder deviceName(String value)
public NativeMetaClient.Builder platform(Platform value)
public NativeMetaClient.Builder platformVersion(String value)
10.12.6
for macOS Sierra, or 16299.192
for Windows.public NativeMetaClient.Builder platformSubtype(@Nullable String value)
ARMv7
for Android, or x64
for Windows.public NativeMetaClient.Builder server(@Nullable String value)
public NativeMetaClient.Builder networkRequestProcessor(@Nullable NetworkRequestProcessor value)
value
- If null
, the default processor will be used. The default is sufficient in most
production environments and places emphasis on connection security.public NativeMetaClient.Builder logger(@Nullable Logger value)
value
- if null
, logs will be printed to the consolepublic NativeMetaClient.Builder scopes(@Nullable String[] value)
public NativeMetaClient.Builder dataCenter(@Nullable String value)