Struct windows::ApplicationModel::Chat::ChatMessageStore
pub struct ChatMessageStore(/* private fields */);
Implementations§
§impl ChatMessageStore
impl ChatMessageStore
pub fn ChangeTracker(&self) -> Result<ChatMessageChangeTracker>
pub fn DeleteMessageAsync( &self, localmessageid: &HSTRING ) -> Result<IAsyncAction>
pub fn DownloadMessageAsync( &self, localchatmessageid: &HSTRING ) -> Result<IAsyncAction>
pub fn GetMessageAsync( &self, localchatmessageid: &HSTRING ) -> Result<IAsyncOperation<ChatMessage>>
pub fn GetMessageReader1(&self) -> Result<ChatMessageReader>
pub fn GetMessageReader2( &self, recenttimelimit: TimeSpan ) -> Result<ChatMessageReader>
pub fn MarkMessageReadAsync( &self, localchatmessageid: &HSTRING ) -> Result<IAsyncAction>
pub fn RetrySendMessageAsync( &self, localchatmessageid: &HSTRING ) -> Result<IAsyncAction>
pub fn SendMessageAsync<P0>(&self, chatmessage: P0) -> Result<IAsyncAction>where
P0: IntoParam<ChatMessage>,
pub fn ValidateMessage<P0>(
&self,
chatmessage: P0
) -> Result<ChatMessageValidationResult>where
P0: IntoParam<ChatMessage>,
pub fn MessageChanged<P0>(&self, value: P0) -> Result<EventRegistrationToken>
pub fn RemoveMessageChanged(&self, value: EventRegistrationToken) -> Result<()>
pub fn ForwardMessageAsync<P0>( &self, localchatmessageid: &HSTRING, addresses: P0 ) -> Result<IAsyncOperation<ChatMessage>>
pub fn GetConversationAsync( &self, conversationid: &HSTRING ) -> Result<IAsyncOperation<ChatConversation>>
pub fn GetConversationForTransportsAsync<P0>( &self, conversationid: &HSTRING, transportids: P0 ) -> Result<IAsyncOperation<ChatConversation>>
pub fn GetConversationFromThreadingInfoAsync<P0>(
&self,
threadinginfo: P0
) -> Result<IAsyncOperation<ChatConversation>>where
P0: IntoParam<ChatConversationThreadingInfo>,
pub fn GetConversationReader(&self) -> Result<ChatConversationReader>
pub fn GetConversationForTransportsReader<P0>( &self, transportids: P0 ) -> Result<ChatConversationReader>
pub fn GetMessageByRemoteIdAsync( &self, transportid: &HSTRING, remoteid: &HSTRING ) -> Result<IAsyncOperation<ChatMessage>>
pub fn GetUnseenCountAsync(&self) -> Result<IAsyncOperation<i32>>
pub fn GetUnseenCountForTransportsReaderAsync<P0>( &self, transportids: P0 ) -> Result<IAsyncOperation<i32>>
pub fn MarkAsSeenAsync(&self) -> Result<IAsyncAction>
pub fn MarkAsSeenForTransportsAsync<P0>( &self, transportids: P0 ) -> Result<IAsyncAction>
pub fn GetSearchReader<P0>(&self, value: P0) -> Result<ChatSearchReader>where
P0: IntoParam<ChatQueryOptions>,
pub fn SaveMessageAsync<P0>(&self, chatmessage: P0) -> Result<IAsyncAction>where
P0: IntoParam<ChatMessage>,
pub fn TryCancelDownloadMessageAsync( &self, localchatmessageid: &HSTRING ) -> Result<IAsyncOperation<bool>>
pub fn TryCancelSendMessageAsync( &self, localchatmessageid: &HSTRING ) -> Result<IAsyncOperation<bool>>
pub fn StoreChanged<P0>(&self, handler: P0) -> Result<EventRegistrationToken>
pub fn RemoveStoreChanged(&self, token: EventRegistrationToken) -> Result<()>
pub fn GetMessageBySyncIdAsync( &self, syncid: &HSTRING ) -> Result<IAsyncOperation<ChatMessage>>
Trait Implementations§
§impl Clone for ChatMessageStore
impl Clone for ChatMessageStore
§fn clone(&self) -> ChatMessageStore
fn clone(&self) -> ChatMessageStore
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ChatMessageStore
impl Debug for ChatMessageStore
§impl From<&ChatMessageStore> for &IInspectable
impl From<&ChatMessageStore> for &IInspectable
§fn from(value: &ChatMessageStore) -> Self
fn from(value: &ChatMessageStore) -> Self
Converts to this type from the input type.
§impl From<&ChatMessageStore> for &IUnknown
impl From<&ChatMessageStore> for &IUnknown
§fn from(value: &ChatMessageStore) -> Self
fn from(value: &ChatMessageStore) -> Self
Converts to this type from the input type.
§impl From<ChatMessageStore> for IInspectable
impl From<ChatMessageStore> for IInspectable
§fn from(value: ChatMessageStore) -> Self
fn from(value: ChatMessageStore) -> Self
Converts to this type from the input type.
§impl From<ChatMessageStore> for IUnknown
impl From<ChatMessageStore> for IUnknown
§fn from(value: ChatMessageStore) -> Self
fn from(value: ChatMessageStore) -> Self
Converts to this type from the input type.
§impl Interface for ChatMessageStore
impl Interface for ChatMessageStore
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for ChatMessageStore
impl PartialEq for ChatMessageStore
§fn eq(&self, other: &ChatMessageStore) -> bool
fn eq(&self, other: &ChatMessageStore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ChatMessageStore
impl Send for ChatMessageStore
impl StructuralPartialEq for ChatMessageStore
impl Sync for ChatMessageStore
Auto Trait Implementations§
impl RefUnwindSafe for ChatMessageStore
impl Unpin for ChatMessageStore
impl UnwindSafe for ChatMessageStore
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