Android EngineComponentCommands::GetChildCount
Get the number of children, if any, for the provided container component.
This is only valid for windows and other containers of child components.
If no children are present (or supported) then the returned count should be 0.
The Android Engine also persists these values as SAFS variables.
^DroidEngine.Command = [command]
^DroidEngine.StatusCode = [statuscode string]
^DroidEngine.StatusInfo = [statusinfo]
See DEngineCommandProcessor.setStatusVars().
Fields: [ ]=
Optional with Default Value
-
Component
An object reference or proxy reference to the component.
A reference to a particular component previously returned from
a call to getTopLevelWindows, getMatchingParentObject, getMatchingChildObjects,
or one of the other engine commands that return such references.
Examples:
-
E, GetChildCount, TheComponentReference
Get the count of children contained in TheComponentReference, if any.
Returns the count of children, or 0 if none exist.
[How To Read This Reference]