Class NefrockLicenseAPI.Builder

java.lang.Object
com.nefrock.edgeocr.NefrockLicenseAPI.Builder
Enclosing interface:
NefrockLicenseAPI

public static class NefrockLicenseAPI.Builder extends Object
ライセンス認証APIのBuilderです
  • Constructor Details

    • Builder

      public Builder(@NonNull android.content.Context context)
      Builderのコンストラクタ
      Parameters:
      context - コンテキスト
  • Method Details

    • withLicenseKey

      public NefrockLicenseAPI.Builder withLicenseKey(@NonNull String licenseKey)
      ライセンスキーを設定します。
      Parameters:
      licenseKey - ライセンスキー
      Returns:
      Builder
    • withGroupLicenseFile

      public NefrockLicenseAPI.Builder withGroupLicenseFile(@NonNull String groupLicensePath)
      複数のデバイスのアクティベーションに使えるグループライセンスファイルを設定します。 このメソッドを使用する場合、ライセンスキーを設定する必要はありません。 groupLicensePathで指定されたファイルは、アクセス権限があることを確認してください。
      Parameters:
      groupLicensePath - グループライセンスファイルのパス
      Returns:
      Builder
    • build

      public NefrockLicenseAPI build() throws EdgeError
      NefrockLicenseAPIを構築します。
      Returns:
      NefrockLicenseAPI
      Throws:
      EdgeError - ライセンスキーが設定されていない場合