Package io.flutter.plugin.common
Class ErrorLogResult
- java.lang.Object
- 
- io.flutter.plugin.common.ErrorLogResult
 
- 
- All Implemented Interfaces:
- MethodChannel.Result
 
 public class ErrorLogResult extends Object implements MethodChannel.Result An implementation ofMethodChannel.Resultthat writes error results to the Android log.
- 
- 
Constructor SummaryConstructors Constructor Description ErrorLogResult(String tag)ErrorLogResult(String tag, int level)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiderror(String errorCode, String errorMessage, Object errorDetails)Handles an error result.voidnotImplemented()Handles a call to an unimplemented method.voidsuccess(Object result)Handles a successful result.
 
- 
- 
- 
Method Detail- 
successpublic void success(@Nullable Object result)Description copied from interface:MethodChannel.ResultHandles a successful result.- Specified by:
- successin interface- MethodChannel.Result
- Parameters:
- result- The result, possibly null. The result must be an Object type supported by the codec. For instance, if you are using- StandardMessageCodec(default), please see its documentation on what types are supported.
 
 - 
errorpublic void error(String errorCode, @Nullable String errorMessage, @Nullable Object errorDetails) Description copied from interface:MethodChannel.ResultHandles an error result.- Specified by:
- errorin interface- MethodChannel.Result
- Parameters:
- errorCode- An error code String.
- errorMessage- A human-readable error message String, possibly null.
- errorDetails- Error details, possibly null. The details must be an Object type supported by the codec. For instance, if you are using- StandardMessageCodec(default), please see its documentation on what types are supported.
 
 - 
notImplementedpublic void notImplemented() Description copied from interface:MethodChannel.ResultHandles a call to an unimplemented method.- Specified by:
- notImplementedin interface- MethodChannel.Result
 
 
- 
 
-