Class
caplin.streamlink

RecordPublisher

An object that can send record messages for a subject that StreamLink is providing

Constructor Summary

Attributes Name and Description
caplin.streamlink.RecordPublisher()

Method Summary

Attributes Name and Description
void send(Object fields, boolean image, caplin.streamlink.CommandListener commandListener)

Sends a Message to Liberator for the current subject

void setDiscardHandler(caplin.streamlink.RecordDiscardHandler discardHandler)

Sets an object to be called back when a discard is received for the current subject

Constructor Detail

caplin.streamlink.RecordPublisher()

Method Detail

void send(Object fields, boolean image, caplin.streamlink.CommandListener commandListener)

Sends a Message to Liberator for the current subject

Parameters
Object fields the fields to send
boolean image whether this is an image
caplin.streamlink.CommandListener commandListener an object with callbacks for the success/failure of sending this message

void setDiscardHandler(caplin.streamlink.RecordDiscardHandler discardHandler)

Sets an object to be called back when a discard is received for the current subject

Parameters
caplin.streamlink.RecordDiscardHandler discardHandler a RecordDiscardHandler object to receive the onDiscard callback