hosanna-ui-docs - v0.9.0
    Preparing search index...

    RemoteDebugApp is the main application class for the remote debug server.

    • Extends BaseApp to provide application lifecycle and view management.
    • Loads and applies style configuration before launch.
    • Configures performance and dependency injection settings.
    • Sets up the root navigation controller and initial debug home view.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    addChild addChildren addDialogManager addRendererToParentViewRenderer addSubView applyIdsToViewStructs applyInitialState applyLayoutStateToNativeRenderer applyStateChanges begin buildView canMeasureBounds clearErrorByErrorField clearErrors configureAudioGuideItem connectRemoteDebugClient containsChild createDataEvent dismiss dispatch dispatchAction dispatchAsync dispatchSelection exitApp findNextFocusable findNextFocusableView findNextFocusableViewByDirection finishAppLaunch getAppMainMenu getAudioGuideItem getBounds getBoundsInApp getBoundsInParent getChangedField getChildView getCustomData getField getFlattenedStructs getFlattenedStructsById getNavController getObservableField getSubView getSubViewRenderer hibernateView hideMainMenu inflateViewStructs initializeAsyncServices insertChild insertSubView invalidateLayout invalidateParentLayout isDescendantOf isInFocusChain layoutAt layoutChildren loadAppConfig notifyOnFocusedChildChange onAppear onBlur onDidAddToAggregateView onDidRemoveFromAggregateView onDisappear onFocus onKeyEvent onMount onSystemEvent onUnmount onWillAddToAggregateView onWillApplyStateChanges onWillRemoveFromAggregateView performViewManagerLayoutChildren precreateSGViews preloadInstancePool prepareBackground prepareIOC present processRemoteDebugCommand reconcileChildren recycle registerControlWithErrorMessage registerControlWithKnownError release removeChild removeSubView render replaceRootView restoreLostFocus setError setField setFPS setLayoutField setObservableField setRootView setShowOnScreen setState showDialog showMainMenu stopLoop unobserveObservableObjects wakeView

    Constructors

    Properties

    __isMemoizedStateValid: boolean = false
    _cacheKey: string = ''
    _hid: string = 'app'
    _isInFocusChain: boolean = false
    _oid?: string

    Optional object ID for this app instance.

    _rendereredTranslation: [number, number] = ...
    activeStyleViewStatus: ViewStatus = ViewStatus.Normal
    aggregateView: undefined | IAggregateView.IAggregateView

    IHosannaView


    audioGuideHint?: string = ''

    This hint can be used in conjunction with the audio guide item

    audioGuideItem?: string | IAudioGuideItem
    backgroundRectangle: ISGNRectangle

    The background rectangle node.

    calculatedHeight: number = 0
    calculatedWidth: number = 0
    calculatedX: number = 0
    calculatedY: number = 0
    canReceiveFocus: boolean = true

    Indicates whether the element can receive focus.

    children: BaseView.BaseView<ViewState, ISGNGroup>[] = []

    List of child views.

    childrenChanged: boolean = false
    clippingRect: number[] = ...
    compositeView: boolean = true

    Indicdates whether the view is a focus group which means it can have a focused child Otherwise it will be focused itself

    customData?: unknown
    defaultValues: Partial<ViewState> = {}
    eventHandlers: Record<string, Function> = {}
    focusedChildId?: string
    focusId: string = ''

    Focus manager for handling focus across views.

    height: number = 0
    id: string = 'app'

    Application ID.

    includeInLayout: boolean = true
    initialFocusId: string = ''
    instancePool: IInstancePool
    isFocused: boolean = false

    Indicates whether the element is currently focused.

    isLayoutDirty: boolean = false
    isLoopRunning: boolean = false
    isPresented: boolean = false

    If true, this view has been presented in an AggregateViewController

    isSkeleton: boolean = false
    isWaking: boolean = false
    launchArgs: ILaunchArgs = {}
    nextViewId: number = 0
    nodePool: INodePool

    Node pool for view management.

    opacity: number = 1.0
    parent?: IHosannaView<ViewState> = undefined
    partialRendererHibernatedState: Partial<ViewState> = {}
    rootView?: BaseView.BaseView<ViewState, ISGNGroup>

    The root view of the application.

    rotation: number = 0
    scale: number[] = ...
    scaleRotateCenter: number[] = ...
    scrollablePositionX: undefined | number = undefined
    scrollablePositionY: undefined | number = undefined
    staticType: ViewStaticType = ViewStaticType.None
    styleRegistry: IStyleRegistry

    Style registry for managing styles.

    subViews: BaseView.BaseView<ViewState, ISGNGroup>[] = []

    List of subviews.

    subViewsChanged: boolean = false

    System service for platform/system-level operations.

    textToSpeechManager: ITextToSpeechManager

    Audio guide manager for handling audio guide events.

    Timer service for scheduling and ticking.

    translation: number[] = ...
    viewOwner: IHosannaView<ViewState>

    The IHosannaView subclass that created us in getViews

    viewStatus: ViewStatus = ViewStatus.Normal
    visible: boolean = true

    Indicates whether the navigatable entity is visible.

    width: number = 0

    Accessors

    Methods

    • Builds the view and attaches it to the view owner.

      Parameters

      • struct: ViewStruct<ViewState>
      • OptionalmountTarget: IHosannaView<ViewState>

        The target to mount the view.

      • childIndex: number = -1

      Returns undefined | IHosannaView<ViewState>

      The built view or undefined.

    • Parameters

      • nextStructs: ViewStruct<ViewState>[]
      • map: Record<string, ViewStruct<ViewState>> = {}
      • idList: { childIndex: number; id: string }[] = []

      Returns {
          idList: { childIndex: number; id: string }[];
          mappedNextStructs: Record<string, ViewStruct<ViewState>>;
      }

    • Presents a new screen in the navigation stack or as a dialog.

      Parameters

      • screen: ViewStruct<ViewState>

        The screen to be presented, represented by a ViewStruct<ViewState>.

      • Optionaloptions: IScreenPresentationOptions

        Optional presentation options.

        • isDialog

          If true, the screen will be presented as a dialog.

        • animated

          If true, the screen transition will be animated.

      Returns void