public ApiCallbacks(
     IntPtr indoorMapsApiHandle,
     IntPtr indoorMapsMaterialServiceHandle,
     IntPtr indoorMapsSceneHandle,
     IntPtr cameraApiHandle,
     IntPtr buildingsApiHandle,
     IntPtr threadServiceHandle,
     IntPtr textureServiceHandle,
     IntPtr sceneServiceHandle,
     IntPtr labelServiceHandle,
     IntPtr positionerApiHandle,
     IntPtr precacheApiHandle,
     IntPtr transportApiHandle,
     IntPtr indoorEntityInformationApiInternalHandle,
     IntPtr mapApiInternalHandle)
 {
     meshCallbacks                       = MeshCallbacks.Create(sceneServiceHandle);
     cameraCallbacks                     = CameraCallbacks.Create(cameraApiHandle);
     assertHandlerCallback               = AssertHandler.HandleAssert;
     fatalErrorHandlerCallback           = FatalErrorHandler.HandleFatalError;
     textureCallbacks                    = TextureCallbacks.Create(textureServiceHandle);
     threadServiceCallbacks              = ThreadServiceCallbacks.Create(threadServiceHandle);
     buildingHighlightCallbacks          = BuildingHighlightCallbacks.Create(buildingsApiHandle);
     sceneCallbacks                      = SceneCallbacks.Create(sceneServiceHandle);
     indoorMapCallbacks                  = IndoorMapCallbacks.Create(indoorMapsApiHandle, indoorMapsMaterialServiceHandle, indoorMapsSceneHandle);
     positionerCallbacks                 = PositionerCallbacks.Create(positionerApiHandle);
     labelCallbacks                      = LabelCallbacks.Create(labelServiceHandle);
     precacheCallbacks                   = PrecacheCallbacks.Create(precacheApiHandle);
     transportCallbacks                  = TransportCallbacks.Create(transportApiHandle);
     indoorMapEntityInformationCallbacks = IndoorMapEntityInformationCallbacks.Create(indoorEntityInformationApiInternalHandle);
     streamingCallbacks                  = StreamingCallbacks.Create(mapApiInternalHandle);
 }
示例#2
0
 public ApiCallbacks(
     IntPtr indoorMapsAPIHandle,
     IntPtr indoorMapsMaterialServiceHandle,
     IntPtr indoorMapsSceneHandle,
     IntPtr cameraApiHandle,
     IntPtr buildingsApiHandle,
     IntPtr threadServiceHandle,
     IntPtr textureServiceHandle,
     IntPtr sceneServiceHandle,
     IntPtr labelServiceHandle,
     IntPtr positionerApiHandle)
 {
     meshCallbacks              = MeshCallbacks.Create(sceneServiceHandle);
     cameraCallbacks            = CameraCallbacks.Create(cameraApiHandle);
     assertHandlerCallback      = AssertHandler.HandleAssert;
     fatalErrorHandlerCallback  = FatalErrorHandler.HandleFatalError;
     textureCallbacks           = TextureCallbacks.Create(textureServiceHandle);
     threadServiceCallbacks     = ThreadServiceCallbacks.Create(threadServiceHandle);
     buildingHighlightCallbacks = BuildingHighlightCallbacks.Create(buildingsApiHandle);
     sceneCallbacks             = SceneCallbacks.Create(sceneServiceHandle);
     indoorMapCallbacks         = IndoorMapCallbacks.Create(indoorMapsAPIHandle, indoorMapsMaterialServiceHandle, indoorMapsSceneHandle);
     positionerCallbacks        = PositionerCallbacks.Create(positionerApiHandle);
     labelCallbacks             = LabelCallbacks.Create(labelServiceHandle);
 }