Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.28 KB

mobilebroadbandmodem_getispassthroughenabledasync_324365355.md

File metadata and controls

39 lines (24 loc) · 1.28 KB
-api-id -api-type
M:Windows.Networking.NetworkOperators.MobileBroadbandModem.GetIsPassthroughEnabledAsync(System.Int32)
winrt method

Windows.Networking.NetworkOperators.MobileBroadbandModem.GetIsPassthroughEnabledAsync(System.Int32)

-description

Asynchronously retrieves a value indicating whether passthrough mode is enabled (for either the active or inactive slot, for Dual Sim Single Active devices).

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

-parameters

-param slotindex

The 0-based slot index (slot number) to query about.

-returns

An asynchronous object which, when it completes, contains a value of true if passthrough mode is enabled; otherwise, false.

-remarks

-see-also

-examples

-capabilities

Microsoft.eSIMManagement_8wekyb3d8bbwe