Class FrameComponent
Definition
- Namespace:
- Tizen.Applications.ComponentBased.Common
- Assembly:
- Tizen.Applications.ComponentBased.dll
Represents a base class for UI components in the component-based application model. This class provides methods for handling the lifecycle and state of UI components.
[Obsolete("This has been deprecated in API14")]
public abstract class FrameComponent : BaseComponent
- Inheritance
Properties
View SourceDisplayStatus
Gets the current display status of the component.
Declaration
[Obsolete("This has been deprecated in API14")]
public DisplayStatus DisplayStatus { get; }
Property Value
| Type | Description |
|---|---|
| DisplayStatus | The current DisplayStatus of the component. |
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Thrown when the display status cannot be retrieved. |
Methods
View SourceCreateWindowInfo()
Called to create the window for the component. Override this method to provide a custom window. This method will be called before OnCreate() method.
Declaration
[Obsolete("This has been deprecated in API14")]
public abstract IWindowInfo CreateWindowInfo()
Returns
| Type | Description |
|---|---|
| IWindowInfo | An IWindowInfo object that represents the created window. |
OnCreate()
Called when the component is launched. Override this method to implement custom launch behavior.
Declaration
[Obsolete("This has been deprecated in API14")]
public abstract bool OnCreate()
Returns
| Type | Description |
|---|---|
| bool |
|
OnDestroy()
Called when the component is destroyed. Override this method to handle destruction behavior.
Declaration
[Obsolete("This has been deprecated in API14")]
public virtual void OnDestroy()
OnPause()
Called when the component is paused. Override this method to handle pause behavior.
Declaration
[Obsolete("This has been deprecated in API14")]
public virtual void OnPause()
OnResume()
Called when the component is resumed. Override this method to handle resume behavior.
Declaration
[Obsolete("This has been deprecated in API14")]
public virtual void OnResume()
OnStart(AppControl, bool)
Called when the component receives an app control message. Override this method to handle app control messages.
Declaration
[Obsolete("This has been deprecated in API14")]
public virtual void OnStart(AppControl appControl, bool restarted)
Parameters
| Type | Name | Description |
|---|---|---|
| AppControl | appControl | The AppControl object containing the app control data. |
| bool | restarted |
|
OnStop()
Called when the component is stopped. Override this method to handle stop behavior.
Declaration
[Obsolete("This has been deprecated in API14")]
public virtual void OnStop()