message_port_trusted_message_cb typedef

message_port_trusted_message_cb = Pointer<NativeFunction<message_port_trusted_message_cbFunction>>

@brief Called when a trusted message is received. @details This function is called when a trusted message is received from the remote application. @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif @remarks You can keep @a message using bundle_dup(). @n @a remote_port will be set only if the remote application sends a message with its port information using message_port_send_trusted_message_with_local_port(), otherwise it is @c NULL. @n When message is sent from remote application by message_port_send_trusted_message_with_local_port() in bidirectional communication, trusted_remote_port is used to check whether remote port is trusted port or not. This callback is called only in the main thread. @paramin trusted_local_port_id The message port ID returned by message_port_register_trusted_local_port() @paramin remote_app_id The ID of the remote application that sent this message @paramin remote_port The name of the remote message port @paramin trusted_remote_port If @c true, the remote port is a trusted port; otherwise if @c false, it is not @paramin message The message passed from the remote application @paramin user_data The user data passed from the register function @pre Either message_port_send_trusted_message() or message_port_send_trusted_message_with_local_port() from the remote application will invoke this function if you register it using message_port_register_trusted_local_port(). @see message_port_register_trusted_local_port() @see message_port_unregister_trusted_local_port() @see message_port_send_trusted_message() @see message_port_send_trusted_message_with_local_port()

Implementation

typedef message_port_trusted_message_cb
    = ffi.Pointer<ffi.NativeFunction<message_port_trusted_message_cbFunction>>;