#include "ContentSource.h"
Go to the source code of this file.
Functions | |
void | k2bInitiateBroadcast (char *inChannelName, char *inBroadcastName, char *inBroadcastComment, ContentSource *inContentSource, char *inContentType) |
This file contains a more advanced broadcast initiation function that requires C++.
|
Sends a broadcast, specifying a content source instead of a file. This version of initiateBroadcast allows for content that is not in a file (for example, content that is generated on the fly). Note: If a sender key exists for the specified channel, it will be used to sign the broadcast.
k2bInitiateBroadcast( "testChan", "testBroadcast.txt", "This is a test broadcast.", new FileContentSource( new File( NULL, "myFile.txt" ) ), "text/plain" ); |