SpatialAnchor.RawCoordinateSystemAdjusted 事件

定义

当设备调整定位点的精确位置时发生,这会更新 RawCoordinateSystem

// Register
event_token RawCoordinateSystemAdjusted(TypedEventHandler<SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SpatialAnchor::RawCoordinateSystemAdjusted_revoker RawCoordinateSystemAdjusted(auto_revoke_t, TypedEventHandler<SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialAnchor,SpatialAnchorRawCoordinateSystemAdjustedEventArgs> RawCoordinateSystemAdjusted;
function onRawCoordinateSystemAdjusted(eventArgs) { /* Your code */ }
spatialAnchor.addEventListener("rawcoordinatesystemadjusted", onRawCoordinateSystemAdjusted);
spatialAnchor.removeEventListener("rawcoordinatesystemadjusted", onRawCoordinateSystemAdjusted);
- or -
spatialAnchor.onrawcoordinatesystemadjusted = onRawCoordinateSystemAdjusted;
Public Custom Event RawCoordinateSystemAdjusted As TypedEventHandler(Of SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs) 

事件类型

注解

事件参数包含表示所做调整的转换。

适用于