public class KodiRemote extends Object
| Constructor and Description |
|---|
KodiRemote(String serverBaseUri)
This creates a new Kodi Remote.
|
| Modifier and Type | Method and Description |
|---|---|
void |
open(String itemPath,
KodiPlayer.PlayerOpenType type)
Path of a folder, or the item (movie, sound file, picture)
|
void |
sendNotification(String title,
String message,
int displayTime)
Sends a small notification to Kodi
|
void |
stop(int playerId)
Stops the playing of music, videos or the diashow
|
public KodiRemote(String serverBaseUri)
serverBaseUri - public void sendNotification(String title, String message, int displayTime)
title - message - displayTime - how long should the message display (milliseconds)public void open(String itemPath, KodiPlayer.PlayerOpenType type)
public void stop(int playerId)
playerId - e.g. 1Copyright © 2018. All rights reserved.