Grass-valley K2 TX/MAM Database Protocol Manual v.2.2 Manual de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 38
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
TX/MAM Database Protocol Manual - document version: 2.2 Page 27
8.7 Creating the assetjobs, asset_index and group_access records for
an asset in the database
int cob_create_asset_references( const long long assetId, const long long userGroupId, const long
long logUserGroupId );
Parameters
Name
Description
assetId
The asset ID.
userGroupId
ID of the user group the asset belongs to.
logUserGroupId
ID of the log user group the application belongs to
Result
The result of the function is an integer that can have following values:
Value
Description
0
Success, the asset references have been created.
-1
Failure, the asset references have not been created.
Example
This example sets the name field to "adjusted" for main_event record with id == 1035:
cob_fieldlist_clear();
cob_criteria_clear();
if ( cob_create_asset_references( assetId, userGroupId, logUserGroupId ) != 0 ) {
/* Log error */
}
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 37 38

Comentarios a estos manuales

Sin comentarios