MobileBroadbandSlotManager.SetCurrentSlot(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Switches to the slot specified by the 0-based slot index.
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 special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.
public:
virtual MobileBroadbandModemStatus SetCurrentSlot(int slotIndex) = SetCurrentSlot;
MobileBroadbandModemStatus SetCurrentSlot(int const& slotIndex);
public MobileBroadbandModemStatus SetCurrentSlot(int slotIndex);
function setCurrentSlot(slotIndex)
Public Function SetCurrentSlot (slotIndex As Integer) As MobileBroadbandModemStatus
Parameters
- slotIndex
-
Int32
int
The 0-based slot index to switch to.
Returns
Windows requirements
App capabilities |
cellularDeviceControl
cellularDeviceIdentity
|