(key *ari.Key)
| 22 | } |
| 23 | |
| 24 | func (p *playback) Data(key *ari.Key) (*ari.PlaybackData, error) { |
| 25 | data, err := p.c.dataRequest(&proxy.Request{ |
| 26 | Kind: "PlaybackData", |
| 27 | Key: key, |
| 28 | }) |
| 29 | if err != nil { |
| 30 | return nil, err |
| 31 | } |
| 32 | return data.Playback, nil |
| 33 | } |
| 34 | |
| 35 | func (p *playback) Control(key *ari.Key, op string) error { |
| 36 | return p.c.commandRequest(&proxy.Request{ |
nothing calls this directly
no test coverage detected