Share via


MobileBroadbandSlotManager.SetCurrentSlot(Int32) Method

Definition

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

A MobileBroadbandModemStatus.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to