-
- All Implemented Interfaces:
public final class PTRParams
Class to keep starting parameters of Pointr instance. Changes does not take effect immediately. Pointr instance must be stop and started again after changing parameters.
-
-
Field Summary
Fields Modifier and Type Field Description private String
licenseKey
private PointrEnvironment
environment
private Plog.LogLevel
logLevel
private InputStream
contentInputStream
private InputStream
certificateInputStream
private String
baseUrl
private String
clientIdentifier
-
Method Summary
Modifier and Type Method Description final String
getLicenseKey()
License key in String format. final Unit
setLicenseKey(String licenseKey)
License key in String format. final PointrEnvironment
getEnvironment()
environment to be used. final Unit
setEnvironment(PointrEnvironment environment)
environment to be used. final Plog.LogLevel
getLogLevel()
log level for Pointr SDK. final Unit
setLogLevel(Plog.LogLevel logLevel)
log level for Pointr SDK. final InputStream
getContentInputStream()
Content input stream. final Unit
setContentInputStream(InputStream contentInputStream)
Content input stream. final InputStream
getCertificateInputStream()
get certificate input stream. final Unit
setCertificateInputStream(InputStream certificateInputStream)
get certificate input stream. final String
getBaseUrl()
Base url in String format. final Unit
setBaseUrl(String baseUrl)
final String
getClientIdentifier()
Client identifier in String format. final Unit
setClientIdentifier(String clientIdentifier)
-
-
Method Detail
-
getLicenseKey
final String getLicenseKey()
License key in String format. Empty string if not set.
-
setLicenseKey
final Unit setLicenseKey(String licenseKey)
License key in String format. Empty string if not set.
-
getEnvironment
final PointrEnvironment getEnvironment()
environment to be used. This affects content file names.
-
setEnvironment
final Unit setEnvironment(PointrEnvironment environment)
environment to be used. This affects content file names.
-
getLogLevel
final Plog.LogLevel getLogLevel()
log level for Pointr SDK. It is verbose if by default.
-
setLogLevel
final Unit setLogLevel(Plog.LogLevel logLevel)
log level for Pointr SDK. It is verbose if by default.
-
getContentInputStream
final InputStream getContentInputStream()
Content input stream. Content is going to be copied to application folder to be used by core SDK. by default content is expected to be under assets.
-
setContentInputStream
final Unit setContentInputStream(InputStream contentInputStream)
Content input stream. Content is going to be copied to application folder to be used by core SDK. by default content is expected to be under assets.
-
getCertificateInputStream
final InputStream getCertificateInputStream()
get certificate input stream. certificate is going to be provided by Pointr, Deep Location By default certificate file cacert.pem is expected to be under assets.
-
setCertificateInputStream
final Unit setCertificateInputStream(InputStream certificateInputStream)
get certificate input stream. certificate is going to be provided by Pointr, Deep Location By default certificate file cacert.pem is expected to be under assets.
-
getBaseUrl
final String getBaseUrl()
Base url in String format. Empty string if not set.
-
setBaseUrl
final Unit setBaseUrl(String baseUrl)
-
getClientIdentifier
final String getClientIdentifier()
Client identifier in String format. Empty string if not set.
-
setClientIdentifier
final Unit setClientIdentifier(String clientIdentifier)
-
-
-
-