[−][src]Struct flutter_engine::channel::JsonMethodChannel
Methods
impl JsonMethodChannel
[src]
impl JsonMethodChannel
Trait Implementations
impl Channel for JsonMethodChannel
[src]
impl Channel for JsonMethodChannel
type Codec = JsonMethodCodec
type R = Value
fn get_name(&self) -> &str | [src] |
fn init(&self, registry: *const PluginRegistry) | [src] |
fn get_engine(&self) -> Option<Weak<FlutterEngineInner>> | [src] |
fn invoke_method(&self, method_call: MethodCall<Self::R>) | [src] |
Invoke a dart method using this channel
fn decode_method_call(&self, msg: &PlatformMessage) -> MethodCall<Self::R> | [src] |
Decode dart method call
fn send_success_event(&self, data: &Self::R) | [src] |
Send an EventChannel success event
fn send_error_event(&self, code: &str, message: &str, data: &Self::R) | [src] |
Send an EventChannel error event
fn send_method_call_response( | [src] |
Send a method call response
fn send_response( | [src] |
Send a method call response. This is a low level method. Please use send_method_call_response
fn send_platform_message(&self, msg: &PlatformMessage) | [src] |
Send platform message
impl Send for JsonMethodChannel
[src]
impl Send for JsonMethodChannel
impl Sync for JsonMethodChannel
[src]
impl Sync for JsonMethodChannel
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> Erased for T
impl<T> Erased for T