app/src/main/java/fi/finwe/orion360/sdk/pro/examples/appfw/CustomActivity.java
protected void verifyOrionLicense() {
        LicenseManager licenseManager = mOrionContext.getLicenseManager();
        List<LicenseSource> licenses = LicenseManager.findLicensesFromAssets(this);
        for (LicenseSource license : licenses) {
            LicenseVerifier verifier = licenseManager.verifyLicense(this, license);
            Log.i(TAG, "Orion360 license " + verifier.getLicenseSource().uri + " verified: "
                    + verifier.getLicenseStatus());
            if (verifier.getLicenseStatus() == LicenseStatus.OK) break;
        }
    }
/**
     * Verify Orion360 license. This is the first thing to do after creating OrionContext.
     */
Verify Orion360 license. This is the first thing to do after creating OrionContext.
Verify Orion360 license . This is the first thing to do after creating OrionContext .
protected void verifyOrionLicense() {
        LicenseManager licenseManager = mOrionContext.getLicenseManager();
        List<LicenseSource> licenses = LicenseManager.findLicensesFromAssets(this);
        for (LicenseSource license : licenses) {
            LicenseVerifier verifier = licenseManager.verifyLicense(this, license);
            Log.i(TAG, "Orion360 license " + verifier.getLicenseSource().uri + " verified: "
                    + verifier.getLicenseStatus());
            if (verifier.getLicenseStatus() == LicenseStatus.OK) break;
        }
    }
protected void verifyOrionLicense ( ) { LicenseManager licenseManager = mOrionContext . getLicenseManager ( ) ; List < LicenseSource > licenses = LicenseManager . findLicensesFromAssets ( this ) ; for ( LicenseSource license : licenses ) { LicenseVerifier verifier = licenseManager . verifyLicense ( this , license ) ; Log . i ( TAG , "Orion360 license " + verifier . getLicenseSource ( ) . uri + " verified: " + verifier . getLicenseStatus ( ) ) ; if ( verifier . getLicenseStatus ( ) == LicenseStatus . OK ) break ; } }
Verify Orion360 license.
Verify Orion360 license .