ObjectBox C and C++ API  4.0.3
OBX_sync_object Struct Reference

A single data object contained in a OBX_sync_msg_objects message. More...

#include <objectbox-sync.h>

Public Attributes

OBXSyncObjectType type
 
uint64_t id
 optional value that the application can use identify the object (may be zero) More...
 
const void * data
 Pointer to object data, which is to be interpreted according to its type. More...
 
size_t size
 Size of the object data (including the trailing \0 in case of OBXSyncObjectType_String) More...
 

Detailed Description

A single data object contained in a OBX_sync_msg_objects message.

Member Data Documentation

◆ data

const void* OBX_sync_object::data

Pointer to object data, which is to be interpreted according to its type.

◆ id

uint64_t OBX_sync_object::id

optional value that the application can use identify the object (may be zero)

◆ size

size_t OBX_sync_object::size

Size of the object data (including the trailing \0 in case of OBXSyncObjectType_String)

◆ type

OBXSyncObjectType OBX_sync_object::type