This is a Java Project for developers get Smtc(System Media Transport Controls) Data form Windows System Api By Java Native Interface
- Music Title
- Music Artist
- Total Music Time
- Current time position of music
- Current Music Played Progress
- Music Cover(Base64)
- Playing statements
- isChangedMusic(bool)
- Source Application Name
public class Main {
public static Loader loader;
public static void main(String[] args) {
loader = Loader.startSmtc();
System.out.println("SMTC Loader Started\n");
while (true) {
System.out.println(loader.getCurrentMediaInfo().toString());
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
throw new RuntimeException(e);
}
}
}
}You can use it to print what data you can get