Provides ability slice-related functions, including ability slice lifecycle callbacks and functions for connecting to or disconnecting from ability slices.
AbilitySlice instances, which are specific to FAs (abilities using the Page template), are used to present different screens on an application’s user interface. An FA can have multiple ability slices.
Public Member Function Name
Called when this ability slice is started. You must override this function if you want to perform some initialization operations during ability slice startup.
Called when this ability slice enters the STATE_INACTIVE state.
Called when this ability slice enters the STATE_ACTIVE state.
Called when this ability slice enters the STATE_BACKGROUND state.
Called when this ability slice enters the STATE_STOP state.
Presents another ability slice, which can be an ability slice that is not started or an existing ability slice in the host ability.
Destroys this ability slice.
Sets the UI layout for the host ability of this ability slice.
Destroys this Ability.
Disconnects from a Service ability.