Class PTRParams

  • 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.

    • Constructor Detail

      • PTRParams

        PTRParams()
      • PTRParams

        PTRParams(String deepLinkUrl)
    • 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.

      • 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.

      • getToken

         final String getToken()

        Token in String format. Empty string if not set.

      • setToken

         final Unit setToken(String token)

        Token in String format. Empty string if not set.

      • getDeepLinkUrl

         final String getDeepLinkUrl()

        Deep link Url in String format. Empty string if not set.