public void RegisterTextRecoEventHandler(ITextRecoEventHandler trackableEventHandler) { this.mTextRecoEventHandlers.Add(trackableEventHandler); if (this.mHasInitialized) { trackableEventHandler.OnInitialized(); } }
/// <summary> /// This method registers a new TextReco event handler. /// These handlers are called after all trackables have been updated for this frame. /// </summary> public void RegisterTextRecoEventHandler(ITextRecoEventHandler trackableEventHandler) { mTextRecoEventHandlers.Add(trackableEventHandler); // call initialized callback immediately if already initialized if (mHasInitializedOnce) { trackableEventHandler.OnInitialized(); } }
/// <summary> /// This method registers a new TextReco event handler. /// These handlers are called after all trackables have been updated for this frame. /// </summary> public void RegisterTextRecoEventHandler(ITextRecoEventHandler trackableEventHandler) { mTextRecoEventHandlers.Add(trackableEventHandler); // call initialized callback immediately if already initialized if (mHasInitializedOnce) trackableEventHandler.OnInitialized(); }