com.foxconn.ebook.reader.engine.core
类 ERManager

java.lang.Object
  继承者 com.foxconn.ebook.reader.engine.core.ERManager

public class ERManager
extends java.lang.Object

Reader的管理類,將來擴展的服務類需要在這裏注冊.

該類的 getService(int) 方法可以獲取相應的接口.

Example:

IEngineService iEngineService = (IEngineService) ERManager.getService(EREngine.ERENGINE_SERVICE);


字段摘要
static int DATABASE_SERVICE
          ERSqliteProxy Service標識.
static int ERENGINE_SERVICE
          EREngine Service標識.
 
构造函数摘要
ERManager()
           
 
方法摘要
static void free()
          釋放資源,通常在onDestroy()中調用.
static java.lang.Object getService(int serviceType)
          根據類型標識獲取相應的Service接口對象.
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

ERENGINE_SERVICE

public static final int ERENGINE_SERVICE
EREngine Service標識.

另请参见:
常量字段值

DATABASE_SERVICE

public static final int DATABASE_SERVICE
ERSqliteProxy Service標識.

另请参见:
常量字段值
构造函数详细信息

ERManager

public ERManager()
方法详细信息

getService

public static java.lang.Object getService(int serviceType)
根據類型標識獲取相應的Service接口對象.

参数:
serviceType - Service標識
返回:
Service對象

free

public static void free()
釋放資源,通常在onDestroy()中調用.