DualSimTile DualSimTile DualSimTile DualSimTile Class

Definition

Creates toast, tile, and badge updater objects specific to Sim1 and Sim2 on dual sim devices.

Important

These APIs are not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

public : sealed class DualSimTile : IDualSimTilepublic sealed class DualSimTile : IDualSimTilePublic NotInheritable Class DualSimTile Implements IDualSimTile// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

Constructors

DualSimTile() DualSimTile() DualSimTile() DualSimTile()

Creates a DualSimTile object.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : DualSimTile()public DualSimTile()Public Sub New()// You can use this method in JavaScript.
Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

Properties

DisplayName DisplayName DisplayName DisplayName

Gets or sets a name that is associated with and displayed on the tile.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : PlatForm::String DisplayName { get; set; }public string DisplayName { get; set; }Public ReadWrite Property DisplayName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The display name.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

IsPinnedToStart IsPinnedToStart IsPinnedToStart IsPinnedToStart

Gets a value indicating whether the tile is pinned to Start.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : PlatForm::Boolean IsPinnedToStart { get; }public bool IsPinnedToStart { get; }Public ReadOnly Property IsPinnedToStart As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

Set to True if the tile is pinned; otherwise, False.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

Methods

CreateAsync() CreateAsync() CreateAsync() CreateAsync()

Creates a new dual SIM app list entry.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : IAsyncOperation<PlatForm::Boolean> CreateAsync()public IAsyncOperation<bool> CreateAsync()Public Function CreateAsync() As IAsyncOperation( Of bool )// You can use this method in JavaScript.
Returns

When this async operation completes a boolean is returned.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

CreateBadgeUpdaterForSim1() CreateBadgeUpdaterForSim1() CreateBadgeUpdaterForSim1() CreateBadgeUpdaterForSim1()

Creates and initializes a badge updater for the Sim1 tile.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : static BadgeUpdater CreateBadgeUpdaterForSim1()public static BadgeUpdater CreateBadgeUpdaterForSim1()Public Static Function CreateBadgeUpdaterForSim1() As BadgeUpdater// You can use this method in JavaScript.
Returns

The object you will use to send badge updates to the tile.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

CreateBadgeUpdaterForSim2() CreateBadgeUpdaterForSim2() CreateBadgeUpdaterForSim2() CreateBadgeUpdaterForSim2()

Creates and initializes a badge updater for the Sim2 tile.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : static BadgeUpdater CreateBadgeUpdaterForSim2()public static BadgeUpdater CreateBadgeUpdaterForSim2()Public Static Function CreateBadgeUpdaterForSim2() As BadgeUpdater// You can use this method in JavaScript.
Returns

The object you will use to send badge updates to the tile.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

CreateTileUpdaterForSim1() CreateTileUpdaterForSim1() CreateTileUpdaterForSim1() CreateTileUpdaterForSim1()

Creates and initializes a tile updater for the Sim1 tile.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : static TileUpdater CreateTileUpdaterForSim1()public static TileUpdater CreateTileUpdaterForSim1()Public Static Function CreateTileUpdaterForSim1() As TileUpdater// You can use this method in JavaScript.
Returns

The object you will use to send updates to the tile.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

CreateTileUpdaterForSim2() CreateTileUpdaterForSim2() CreateTileUpdaterForSim2() CreateTileUpdaterForSim2()

Creates and initializes a tile updater for the Sim2 tile.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : static TileUpdater CreateTileUpdaterForSim2()public static TileUpdater CreateTileUpdaterForSim2()Public Static Function CreateTileUpdaterForSim2() As TileUpdater// You can use this method in JavaScript.
Returns

The object you will use to send badge updates to the tile.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

CreateToastNotifierForSim1() CreateToastNotifierForSim1() CreateToastNotifierForSim1() CreateToastNotifierForSim1()

Creates and initializes a toast notifier for Sim1.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : static ToastNotifier CreateToastNotifierForSim1()public static ToastNotifier CreateToastNotifierForSim1()Public Static Function CreateToastNotifierForSim1() As ToastNotifier// You can use this method in JavaScript.
Returns

The object you will use to send the toast notification.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

CreateToastNotifierForSim2() CreateToastNotifierForSim2() CreateToastNotifierForSim2() CreateToastNotifierForSim2()

Creates and initializes a toast notifier for Sim2.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : static ToastNotifier CreateToastNotifierForSim2()public static ToastNotifier CreateToastNotifierForSim2()Public Static Function CreateToastNotifierForSim2() As ToastNotifier// You can use this method in JavaScript.
Returns

The object you will use to send the toast notification to the app.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

DeleteAsync() DeleteAsync() DeleteAsync() DeleteAsync()

Deletes a dual SIM app list entry.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : IAsyncOperation<PlatForm::Boolean> DeleteAsync()public IAsyncOperation<bool> DeleteAsync()Public Function DeleteAsync() As IAsyncOperation( Of bool )// You can use this method in JavaScript.
Returns

When this async operation completes a boolean is returned.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

GetTileForSim2() GetTileForSim2() GetTileForSim2() GetTileForSim2()

Gets the Sim2 tile.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : static DualSimTile GetTileForSim2()public static DualSimTile GetTileForSim2()Public Static Function GetTileForSim2() As DualSimTile// You can use this method in JavaScript.
Returns

A reference to the Sim2 tile.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

UpdateAsync() UpdateAsync() UpdateAsync() UpdateAsync()

Updates a dual SIM app list entry.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : IAsyncOperation<PlatForm::Boolean> UpdateAsync()public IAsyncOperation<bool> UpdateAsync()Public Function UpdateAsync() As IAsyncOperation( Of bool )// You can use this method in JavaScript.
Returns

When this async operation completes a boolean is returned.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles

UpdateDisplayNameForSim1Async(String) UpdateDisplayNameForSim1Async(String) UpdateDisplayNameForSim1Async(String) UpdateDisplayNameForSim1Async(String)

Updates the primary tile display name.

Important

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public : static IAsyncOperation<PlatForm::Boolean> UpdateDisplayNameForSim1Async(PlatForm::String name)public static IAsyncOperation<bool> UpdateDisplayNameForSim1Async(String name)Public Static Function UpdateDisplayNameForSim1Async(name As String) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
Parameters
name
PlatForm::String String String String

The display name.

Returns

When this async operation completes a boolean is returned.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Phone.StartScreen.DualSimTileContract (introduced v1)
Capabilities
dualSimTiles