Truxton media set description

From truxwiki.com
Revision as of 03:46, 10 July 2020 by Sam (talk | contribs) (Created page with "Sets the description of this media object. This corresponds to the <code>Description</code> column of the <code>Media</code> table. =Syntax= <syntaxhighlight lang="C"> void t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets the description of this media object. This corresponds to the Description column of the Media table.

Syntax

void truxton_media_set_description( uint64_t media_handle, char * description );

Parameters

media_handle

The handle created by the truxton_media_create or truxton_media_open_id call.

description

The description of the media.

Sample

void set_description(uint64_t media_handle)
{
   truxton_media_set_description( media_handle, "Thumb drive found at the scene" );
}