LayoutResultpublic final class LayoutResult extends Object implements com.android.layoutlib.api.ILayoutResultImplementation of {@link ILayoutResult} |
Fields Summary |
---|
private final ILayoutViewInfo | mRootView | private final BufferedImage | mImage | private final int | mSuccess | private final String | mErrorMessage |
Constructors Summary |
---|
public LayoutResult(ILayoutViewInfo rootView, BufferedImage image)Creates a {@link #SUCCESS} {@link ILayoutResult} with the specified params
mSuccess = SUCCESS;
mErrorMessage = null;
mRootView = rootView;
mImage = image;
| public LayoutResult(int code, String message)Creates a LayoutResult with a specific success code and associated message
mSuccess = code;
mErrorMessage = message;
mRootView = null;
mImage = null;
|
|