MCPcopy Create free account
hub / github.com/CyCoreSystems/ari / Sound

Interface Sound

sound.go:5–12  ·  view source on GitHub ↗

Sound represents a communication path to the asterisk server for Sound resources

Source from the content-addressed store, hash-verified

3// Sound represents a communication path to
4// the asterisk server for Sound resources
5type Sound interface {
6 // List returns available sounds limited by the provided filters.
7 // Valid filters are "lang", "format", and nil (no filter)
8 List(filters map[string]string, keyFilter *Key) ([]*Key, error)
9
10 // Data returns the Sound's data
11 Data(key *Key) (*SoundData, error)
12}
13
14// SoundData describes a media file which may be played back
15type SoundData struct {

Callers 2

channelHandlerFunction · 0.65
NewFunction · 0.65

Implementers 15

Mailboxclient/arimocks/Mailbox.go
Mailbox_Expecterclient/arimocks/Mailbox.go
Modulesclient/arimocks/Modules.go
Modules_Expecterclient/arimocks/Modules.go
StoredRecordingclient/arimocks/StoredRecording.go
StoredRecording_Expecterclient/arimocks/StoredRecording.go
Applicationclient/arimocks/Application.go
Application_Expecterclient/arimocks/Application.go
DeviceStateclient/arimocks/DeviceState.go
DeviceState_Expecterclient/arimocks/DeviceState.go
Bridgeclient/arimocks/Bridge.go
Bridge_Expecterclient/arimocks/Bridge.go

Calls

no outgoing calls

Tested by

no test coverage detected