Méthode | Description | |
---|---|---|
ClearTile ( IModel model ) : void |
Clears a tile associated to the model specified. How it determines which tile(s) to clear is determined by the class implementing this interface. If the platform does not support tiles, then the implementation should do nothing.
|
|
CreateOrUpdateTileAsync ( IModel model ) : Task |
Creates or updates one or multiple live tiles on the executing platform. How it is manifests itself is determined by the class that implements this interface. If the platform does not support this feature, then the implementation should do nothing.
|
|
DeleteTileAsync ( IModel model ) : Task |
Deletes a tile associated to the model specified. How it determines which tile to delete is determined by the class implementing this interface. If the platform does not support tiles, then the implementation should do nothing.
|
|
DisplayToast ( IModel model ) : void |
Displays a toasts associated to the tile specified. How it determines what should be displayed is determined by the class implementing this interface. If the platform does not support toasts, then the implementation should do nothing.
|
|
HasTile ( IModel model ) : bool |
Checks to see if a tile exists associated the the model specified. How it determines which tile to check against is determined by the class implementing this interface. If the platform does not support tiles, then the implementation should do nothing.
|
|
SignoutAsync ( ) : System.Threading.Tasks.Task |
On signout of a user, clear tiles, toasts, notifications
|
|
UpdateAllSecondaryTilesAsync ( CancellationToken ct ) : System.Threading.Tasks.Task |
Updates all tiles or any other UI features currently in use on the device.
|
Méthode | Description | |
---|---|---|
Initialize ( ) : void |
Initialization logic which is called on launch of this application.
|
Méthode | Description | |
---|---|---|
CreateOrUpdateSecondaryTileAsync ( |
||
NotificationsService ( ) : MediaAppSample.Core.Models |
public ClearTile ( IModel model ) : void | ||
model | IModel | Model which contains the data necessary to find the tile to clear. |
Résultat | void |
public CreateOrUpdateTileAsync ( IModel model ) : Task |
||
model | IModel | Model which contains the data necessary to create a new tile or to find the tile to update |
Résultat | Task |
public DeleteTileAsync ( IModel model ) : Task |
||
model | IModel | Model which contains the data necessary to find the tile to delete. |
Résultat | Task |
public DisplayToast ( IModel model ) : void | ||
model | IModel | Model which contains the data needed for the toast. |
Résultat | void |
public HasTile ( IModel model ) : bool | ||
model | IModel | Model which contains the data to find the tile. |
Résultat | bool |
public SignoutAsync ( ) : System.Threading.Tasks.Task | ||
Résultat | System.Threading.Tasks.Task |
public UpdateAllSecondaryTilesAsync ( CancellationToken ct ) : System.Threading.Tasks.Task | ||
ct | CancellationToken | |
Résultat | System.Threading.Tasks.Task |