13
votes

Sample Screenshot - Spotify Lock-Screen information

enter image description here

How can I display information on the lock screen? Like Spotify does.

EDIT: Can see question is duplicated, so, the question now is - how Spotify do this?
For Windows 10.
Using WPF/UWP/WinForms whatever.
If it is possible only using other language/hacks - always something.

1
I don't understand downvotes... I was trying to google it, but can't find any tutorial or example. - Rhonin
@Rhonin, me neither. It might be that there are many ways to do that, which means your question is "too broad", or something like that. Who knows? In any case you need to add relevant tags with operative system and version, also is this Winforms, WPF, etc? - Daniel Manta

1 Answers

10
votes

Output:

LockScreen ScreenShoot

My code to run example (in button event, it won't start while application is starting):

TileContent content = new TileContent()
{
    Visual = new TileVisual()
    {
        LockDetailedStatus1 = "Meeting with Thomas",
        LockDetailedStatus2 = "11:00 AM - 12:30 PM",
        LockDetailedStatus3 = "Studio F",

        TileWide = new TileBinding() { }
    }
};
var notification = new TileNotification(content.GetXml());
TileUpdateManager.CreateTileUpdaterForApplication().Update(notification);

Followed:

  1. Detailed-lock-screen-status-for-windows-10
  2. Quickstart-sending-a-local-tile-notification-in-windows-10

Thanks for help to people in comments for the links above!