SpatialEntityWatcher.Updated 事件

定义

当现有空间实体由参与者更新其元数据时引发的事件。

// Register
event_token Updated(TypedEventHandler<SpatialEntityWatcher, SpatialEntityUpdatedEventArgs const&> const& handler) const;

// Revoke with event_token
void Updated(event_token const* cookie) const;

// Revoke with event_revoker
SpatialEntityWatcher::Updated_revoker Updated(auto_revoke_t, TypedEventHandler<SpatialEntityWatcher, SpatialEntityUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialEntityWatcher,SpatialEntityUpdatedEventArgs> Updated;
function onUpdated(eventArgs) { /* Your code */ }
spatialEntityWatcher.addEventListener("updated", onUpdated);
spatialEntityWatcher.removeEventListener("updated", onUpdated);
- or -
spatialEntityWatcher.onupdated = onUpdated;
Public Custom Event Updated As TypedEventHandler(Of SpatialEntityWatcher, SpatialEntityUpdatedEventArgs) 

事件类型

注解

请注意,在设备了解其环境的详细信息时发生的对空间定位点位置的调整不会由此更新事件表示。 应用应对每个帧的定位点坐标系的更改做出响应,就像本地定位点所需的一样。

适用于