Package io.flutter.plugin.common
Class ErrorLogResult
java.lang.Object
io.flutter.plugin.common.ErrorLogResult
- All Implemented Interfaces:
MethodChannel.Result
An implementation of
MethodChannel.Result that writes error results to the Android log.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ErrorLogResult
-
ErrorLogResult
-
-
Method Details
-
success
Description copied from interface:MethodChannel.ResultHandles a successful result.- Specified by:
successin interfaceMethodChannel.Result- Parameters:
result- The result, possibly null. The result must be an Object type supported by the codec. For instance, if you are usingStandardMessageCodec(default), please see its documentation on what types are supported.
-
error
Description copied from interface:MethodChannel.ResultHandles an error result.- Specified by:
errorin interfaceMethodChannel.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 usingStandardMessageCodec(default), please see its documentation on what types are supported.
-
notImplemented
public void notImplemented()Description copied from interface:MethodChannel.ResultHandles a call to an unimplemented method.- Specified by:
notImplementedin interfaceMethodChannel.Result
-