com.android.layoutlib.api
Interface ILayoutResult


Deprecated. use RenderSession as returned by Bridge.createSession(com.android.ide.common.rendering.api.SessionParams)

@Deprecated
public interface ILayoutResult

The result of a layout computation through ILayoutBridge.

Since:
1

Nested Class Summary
static interface ILayoutResult.ILayoutViewInfo
          Deprecated.  
 
Field Summary
static int ERROR
          Deprecated. Error return code, in which case an error message is guaranteed to be defined.
static int SUCCESS
          Deprecated. Success return code
 
Method Summary
 java.lang.String getErrorMessage()
          Deprecated. Returns the error message.
 java.awt.image.BufferedImage getImage()
          Deprecated. Returns the rendering of the full layout.
 ILayoutResult.ILayoutViewInfo getRootView()
          Deprecated. Returns the ILayoutResult.ILayoutViewInfo object for the top level view.
 int getSuccess()
          Deprecated. Returns the result code.
 

Field Detail

SUCCESS

static final int SUCCESS
Deprecated. 
Success return code

See Also:
Constant Field Values

ERROR

static final int ERROR
Deprecated. 
Error return code, in which case an error message is guaranteed to be defined.

See Also:
getErrorMessage(), Constant Field Values
Method Detail

getSuccess

int getSuccess()
Deprecated. 
Returns the result code.

See Also:
SUCCESS, ERROR

getRootView

ILayoutResult.ILayoutViewInfo getRootView()
Deprecated. 
Returns the ILayoutResult.ILayoutViewInfo object for the top level view.


getImage

java.awt.image.BufferedImage getImage()
Deprecated. 
Returns the rendering of the full layout.


getErrorMessage

java.lang.String getErrorMessage()
Deprecated. 
Returns the error message.

Only valid when getSuccess() returns ERROR