jzland docs
Widget

Podcast

Episodio in corso e tempo rimanente. -15, +30, velocità.

Lo schermo del widget Podcast

SchedaValore
Identificatorepodcast
CategoriaMusica e media
Da dove arrivano i datiil cervello sul computer
Numero nel catalogo60

Episodio in corso, programma, tempo rimanente. -15 s, +30 s, play/pausa e velocità 1x / 1,5x / 2x. Mentre suona, il tempo avanza in locale tra un aggiornamento e l'altro.

Dati dal computer alla scheda

Le chiavi dei campi del protocollo che il widget legge (protocollo).

Dati (host -> device):
  key 0 str: titolo dell'episodio
  key 1 str: programma
  key 2 int: posizione in secondi
  key 3 int: durata in secondi
  key 4 int: 1 se sta suonando
  key 5 int: velocità in decimi (10, 15, 20)

Eventi dalla scheda al computer

Le azioni che il widget manda al cervello quando lo tocchi.

Eventi (device -> host): 1 = salta (int 0: secondi, -15 o 30)
                         2 = velocità (int 0: decimi, 10/15/20)
                         3 = play/pausa (int 0: 1 = suona, 0 = pausa)

Tutti i widget

On this page