Get Object Media Data

20 August 2015

  • Release 8.44 - added.
getobjectmediadata (Commands)
TypeCorrade progressive command
Commandgetobjectmediadata
DescriptionThe getobjectmediadata command can be used to retrieve the set media data from an object.
Permissionsinteract
Parametersgroup, password, item, data
Last ChangesRelease 8.44 - added.

The getobjectmediadata command can be used to retrieve the set media data from an object.

Command Required Parameters Required Corrade Permissions Example
getobjectmediadata group, password, item, data interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // get the media data from a primitive
            // in a 5 meter range named "TV Screen 1.0"
            "command", "getobjectmediadata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", wasURLEscape("TV Screen 1.0"),
            "range", 5,
            "data", wasURLEscape(
                wasListToCSV(
                    [
                        "AutoPlay",
                        "CurrentURL"
                    ]
                )
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);
Optional Parameters Description
range The spherical radius from Corrade to search the primitive in.

The command queries the MediaEntry structure of a primitive and returns the media data for all the faces of the primitive.


secondlife/scripted_agents/corrade/api/progressive/commands/getobjectmediadata.txt ยท Last modified: 2017/02/22 18:29 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.