Files
UniversalMusicPlayer/browserCommands/src/main/java/edu/regis/universeplayer/browserCommands/QueryTime.java
Markil3 105c89b615 Established a connection between the Interface and the browser.
All we're doing right now is pinging, but it should be fairly simple to get an API working now that the browser and interface can talk.
2021-07-29 11:37:07 -07:00

27 lines
471 B
Java

/*
* Copyright (c) 2021 William Hubbard. All Rights Reserved.
*/
package edu.regis.universeplayer.browserCommands;
/**
* This query asks for the current playback time.
*
* @author William Hubbard
* @version 0.1
*/
public class QueryTime implements BrowserQuery<Float>
{
@Override
public String getCommandName()
{
return "currentTime";
}
@Override
public Class<Float> getReturnType()
{
return Float.class;
}
}