-api-id | -api-type |
---|---|
M:Windows.Networking.NetworkOperators.MobileBroadbandModem.GetIsPassthroughEnabledAsync(System.Int32) |
winrt method |
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.
The 0-based slot index (slot number) to query about.
An asynchronous object which, when it completes, contains a value of true
if passthrough mode is enabled; otherwise, false
.
Microsoft.eSIMManagement_8wekyb3d8bbwe