YI Open API SDK  0.5
Static Public Member Functions | List of all members
com.xiaoyi.action.Platform Class Reference

This class will be used to initialize/uninitialize the whole SDK platform. More...

Static Public Member Functions

static void initialize (Logger logger) throws IOException
 Initialize SDK platform. More...
 
static void uninitialize () throws IOException
 Uninitialize SDK platform. More...
 

Detailed Description

This class will be used to initialize/uninitialize the whole SDK platform.

Member Function Documentation

static void com.xiaoyi.action.Platform.initialize ( Logger  logger) throws IOException
static

Initialize SDK platform.

This function should only be invoked once at the app startup. App shouldn't invoke any functions before invoking this function.

Parameters
loggerThe log interface (app need implements this interface) used by the whole SDK platform. Pass null will turn off the log.
static void com.xiaoyi.action.Platform.uninitialize ( ) throws IOException
static

Uninitialize SDK platform.

This function should only be invoked once at the app ended. App shouldn't invoke any functions after invoking this function.


The documentation for this class was generated from the following file:

www.yitechnology.com © 2016