Package 

Interface CommandModule

  • All Implemented Interfaces:
    io.karte.android.core.library.Module

    
    public interface CommandModule
     implements Module
                        

    コマンドを実行するためのモジュールタイプです。

    サブモジュールと連携するために用意している機能であり、通常利用で使用することはありません。

    • Method Summary

      Modifier and Type Method Description
      Intent execute(Uri uri, Boolean isDelay) コマンドを実行します。
      Boolean validate(Uri uri) 対象のKARTEのコマンドかどうか検証します。
      abstract String getName() モジュール名
      • Methods inherited from class io.karte.android.core.library.Module

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • execute

         Intent execute(Uri uri, Boolean isDelay)

        コマンドを実行します。

        Parameters:
        uri - コマンドを表現するURL
        isDelay - 遅延実行すべきかを表す真偽値
      • validate

         Boolean validate(Uri uri)

        対象のKARTEのコマンドかどうか検証します。

        Parameters:
        uri - 検証対象のURL