
Elive::Entity::Preload - Elluminate Preload instance class
This is the entity class for meeting preloads.
my $preloads = Elive::Entity::Preload->list(
filter => 'mimeType=application/x-shockwave-flash',
);
my $preload = Elive::Entity::Preload->retrieve($preload_id);
my $type = $preload->type;
There are three possible types of preloads: media, plan and whiteboard.

#
# upload from a file
#
my $preload1 = Elive::Entity::Preload->upload('mypreloads/intro.wbd');
#
# upload in-memory data
#
my $preload2 = Elive::Entity::Preload->upload(
{
type => 'whiteboard',
name => 'introduction.wbd',
ownerId => 357147617360,
data => $binary_data,
},
);
Upload data from a client and create a preload. If a mimeType is not supplied, it will be guessed from the name extension, using MIME::Types.
my $preload = Elive::Entity::Preload->retrieve($preload_id);
my $binary_data = $preload->download;
Download preload data.
my $preload1 = Elive::Entity::Preload->import_from_server(
{
type => 'whiteboard',
name => 'introduction.wbd',
ownerId => 357147617360,
fileName => $path_on_server
},
);
Create a preload from a file that is already present on the server's file-system. If a mimeType is not supplied, it will be guessed from the name or fileName extension using MIME::Types.
my $preloads = Elive::Entity::Preload->list_meeting_preloads($meeting_id);
Returns a list of preloads associated with the given meeting-Id or meeting object.
my $all_preloads = Elive::Entity::Preload->list();
Lists all known preloads.
The update method is not available for preloads.

$preload->ownerId('Dom1:freddy');
introduction.wbd => introduction). However, if the file lacks an extension to begin with, the request crashes with the confusing error message: "string index out of range: -1".filter option appears to have no affect when passed to the list() method.