Struct windows::Phone::Notification::Management::AccessoryManager
pub struct AccessoryManager;
Implementations§
§impl AccessoryManager
impl AccessoryManager
pub fn RegisterAccessoryApp() -> Result<HSTRING>
pub fn GetNextTriggerDetails() -> Result<IAccessoryNotificationTriggerDetails>
pub fn ProcessTriggerDetails<P0>(pdetails: P0) -> Result<()>where
P0: IntoParam<IAccessoryNotificationTriggerDetails>,
pub fn PhoneLineDetails() -> Result<IVectorView<PhoneLineDetails>>
pub fn GetPhoneLineDetails(phoneline: GUID) -> Result<PhoneLineDetails>
pub fn AcceptPhoneCall(phonecallid: u32) -> Result<()>
pub fn AcceptPhoneCallOnEndpoint( phonecallid: u32, endpoint: PhoneCallAudioEndpoint ) -> Result<()>
pub fn AcceptPhoneCallWithVideo(phonecallid: u32) -> Result<()>
pub fn AcceptPhoneCallWithVideoOnAudioEndpoint( phonecallid: u32, endpoint: PhoneCallAudioEndpoint ) -> Result<()>
pub fn RejectPhoneCall(phonecallid: u32) -> Result<()>
pub fn RejectPhoneCallWithText( phonecallid: u32, textresponseid: u32 ) -> Result<()>
pub fn MakePhoneCall(phoneline: GUID, phonenumber: &HSTRING) -> Result<()>
pub fn MakePhoneCallOnAudioEndpoint( phoneline: GUID, phonenumber: &HSTRING, endpoint: PhoneCallAudioEndpoint ) -> Result<()>
pub fn MakePhoneCallWithVideo( phoneline: GUID, phonenumber: &HSTRING ) -> Result<()>
pub fn MakePhoneCallWithVideoOnAudioEndpoint( phoneline: GUID, phonenumber: &HSTRING, endpoint: PhoneCallAudioEndpoint ) -> Result<()>
pub fn SwapPhoneCalls( phonecallidtohold: u32, phonecallidonhold: u32 ) -> Result<()>
pub fn HoldPhoneCall(phonecallid: u32, holdcall: bool) -> Result<()>
pub fn EndPhoneCall(phonecallid: u32) -> Result<()>
pub fn SetPhoneMute(value: bool) -> Result<()>
pub fn PhoneMute() -> Result<bool>
pub fn SetPhoneCallAudioEndpoint(value: PhoneCallAudioEndpoint) -> Result<()>
pub fn PhoneCallAudioEndpoint() -> Result<PhoneCallAudioEndpoint>
pub fn SnoozeAlarm(alarmid: GUID) -> Result<()>
pub fn SnoozeAlarmForSpecifiedTime( alarmid: GUID, timespan: TimeSpan ) -> Result<()>
pub fn DismissAlarm(alarmid: GUID) -> Result<()>
pub fn SnoozeReminder(reminderid: GUID) -> Result<()>
pub fn SnoozeReminderForSpecifiedTime( reminderid: GUID, timespan: TimeSpan ) -> Result<()>
pub fn DismissReminder(reminderid: GUID) -> Result<()>
pub fn GetMediaMetadata() -> Result<MediaMetadata>
pub fn MediaPlaybackCapabilities() -> Result<PlaybackCapability>
pub fn MediaPlaybackStatus() -> Result<PlaybackStatus>
pub fn PerformMediaPlaybackCommand(command: PlaybackCommand) -> Result<()>
pub fn DoNotDisturbEnabled() -> Result<bool>
pub fn DrivingModeEnabled() -> Result<bool>
pub fn BatterySaverState() -> Result<bool>
pub fn GetApps() -> Result<IMapView<HSTRING, AppNotificationInfo>>
pub fn EnableNotificationsForApplication(appid: &HSTRING) -> Result<()>
pub fn DisableNotificationsForApplication(appid: &HSTRING) -> Result<()>
pub fn IsNotificationEnabledForApplication(appid: &HSTRING) -> Result<bool>
pub fn GetEnabledAccessoryNotificationTypes() -> Result<i32>
pub fn EnableAccessoryNotificationTypes( accessorynotificationtypes: i32 ) -> Result<()>
pub fn DisableAllAccessoryNotificationTypes() -> Result<()>
pub fn GetUserConsent() -> Result<bool>
pub fn GetAppIcon(appid: &HSTRING) -> Result<IRandomAccessStreamReference>
pub fn RingDevice() -> Result<()>
pub fn SpeedDialList() -> Result<IVectorView<SpeedDialEntry>>
pub fn ClearToast(instanceid: &HSTRING) -> Result<()>
pub fn IsPhonePinLocked() -> Result<bool>
pub fn IncreaseVolume(step: i32) -> Result<()>
pub fn DecreaseVolume(step: i32) -> Result<()>
pub fn SetMute(mute: bool) -> Result<()>
pub fn SetRingerVibrate(ringer: bool, vibrate: bool) -> Result<()>
pub fn VolumeInfo() -> Result<VolumeInfo>
pub fn GetAllEmailAccounts() -> Result<IVectorView<EmailAccountInfo>>
pub fn GetFolders( emailaccount: &HSTRING ) -> Result<IVectorView<EmailFolderInfo>>
pub fn EnableEmailNotificationEmailAccount(emailaccount: &HSTRING) -> Result<()>
pub fn DisableEmailNotificationEmailAccount( emailaccount: &HSTRING ) -> Result<()>
pub fn EnableEmailNotificationFolderFilter<P0>(
emailaccount: &HSTRING,
folders: P0
) -> Result<()>where
P0: IntoParam<IVectorView<HSTRING>>,
pub fn UpdateEmailReadStatus<P0>(messageentryid: P0, isread: bool) -> Result<()>where
P0: IntoParam<BinaryId>,
pub fn SnoozeAlarmByInstanceId(instanceid: &HSTRING) -> Result<()>
pub fn DismissAlarmByInstanceId(instanceid: &HSTRING) -> Result<()>
pub fn SnoozeReminderByInstanceId(instanceid: &HSTRING) -> Result<()>
pub fn DismissReminderByInstanceId(instanceid: &HSTRING) -> Result<()>
Auto Trait Implementations§
impl RefUnwindSafe for AccessoryManager
impl Send for AccessoryManager
impl Sync for AccessoryManager
impl Unpin for AccessoryManager
impl UnwindSafe for AccessoryManager
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