pub struct RcsEngine { /* private fields */ }
Implementations§
Source§impl RcsEngine
impl RcsEngine
pub fn new<SCF, MCF, MCIHF>( subscription_id: i32, rt: Arc<Runtime>, context: Arc<Context>, state_callback: SCF, message_callback: MCF, multi_conference_v1_invite_handler_function: MCIHF, ) -> RcsEngine
pub fn configure(&mut self, ims_config: String, rcs_config: String)
pub fn connect(&mut self, rt: Arc<Runtime>)
pub fn disconnect(&self, rt: Arc<Runtime>)
pub fn send_message<F>( &self, message_type: &str, message_content: &str, recipient: &str, recipient_type: RecipientType, message_result_callback: F, rt: &Arc<Runtime>, )
pub fn send_imdn_report<F>( &self, imdn_content: &str, sender_uri: &str, sender_service_type: i32, sender_session_handle: *mut MessagingSessionHandle, rt: Arc<Runtime>, send_imdn_report_result_callback: F, )
pub fn upload_file<PF, RF>( &self, tid: &str, file_path: &str, file_name: &str, file_mime: &str, file_hash: Option<&str>, thumbnail_path: Option<&str>, thumbnail_name: Option<&str>, thumbnail_mime: Option<&str>, thumbnail_hash: Option<&str>, msisdn: Option<&str>, http_client: Arc<HttpClient>, gba_context: Arc<GbaContext>, security_context: Arc<SecurityContext>, rt: Arc<Runtime>, upload_file_progress_callback: PF, upload_file_result_callback: RF, )
pub fn download_file<PF, RF>( &self, file_uri: &str, download_path: &str, start: usize, total: Option<usize>, msisdn: Option<&str>, http_client: Arc<HttpClient>, gba_context: Arc<GbaContext>, security_context: Arc<SecurityContext>, rt: Arc<Runtime>, download_file_progress_callback: PF, download_file_result_callback: RF, )
pub fn create_conference_v1<F>( &self, recipients: &str, offer_sdp: &str, event_cb: Option<MultiConferenceEventListener>, event_cb_context: MultiConferenceEventListenerContextWrapper, rt: &Arc<Runtime>, callback: F, )
pub fn retrieve_specific_chatbots<F>( &self, local_etag: Option<&str>, msisdn: Option<&str>, http_client: Arc<HttpClient>, gba_context: Arc<GbaContext>, security_context: Arc<SecurityContext>, rt: Arc<Runtime>, retrieve_specific_chatbots_result_callback: F, )
pub fn search_chatbot<F>( &self, query: &str, start: u32, num: u32, home_operator: &str, msisdn: Option<&str>, http_client: Arc<HttpClient>, gba_context: Arc<GbaContext>, security_context: Arc<SecurityContext>, rt: Arc<Runtime>, chatbot_search_result_callback: F, )
pub fn retrieve_chatbot_info<F>( &self, chatbot_sip_uri: &str, local_etag: Option<&str>, home_operator: &str, home_language: &str, msisdn: Option<&str>, http_client: Arc<HttpClient>, gba_context: Arc<GbaContext>, security_context: Arc<SecurityContext>, rt: Arc<Runtime>, retrieve_chatbot_info_result_callback: F, )
Auto Trait Implementations§
impl Freeze for RcsEngine
impl !RefUnwindSafe for RcsEngine
impl Send for RcsEngine
impl Sync for RcsEngine
impl Unpin for RcsEngine
impl !UnwindSafe for RcsEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more