SpatialAnchor.RawCoordinateSystemAdjusted 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当设备调整定位点的精确位置时发生,这会更新 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)
事件类型
注解
事件参数包含表示所做调整的转换。