1# FullScreenLaunchComponent
2
3
4**FullScreenLaunchComponent** is a component designed for launching atomic services in full screen. If the invoked application (the one being launched) grants the invoker the authorization to run the atomic service in an embedded manner, the invoker can operate the atomic service in full-screen embedded mode. If authorization is not provided, the invoker will launch the atomic service in a pop-up manner.
5
6
7> **NOTE**
8>
9> This component is supported since API version 12. Updates will be marked with a superscript to indicate their earliest API version.
10>
11> To implement an embeddable atomic service within this component, it must inherit from [EmbeddableUIAbility](../../apis-ability-kit/js-apis-app-ability-embeddableUIAbility.md). If it does not inherit from **EmbeddableUIAbility**, the system cannot guarantee that the atomic service will function properly.
12
13
14## Modules to Import
15
16```
17import { FullScreenLaunchComponent } from '@kit.ArkUI'
18```
19
20
21## Child Components
22
23Not supported
24
25## Attributes
26The [universal attributes](ts-universal-attributes-size.md) are not supported.
27
28## FullScreenLaunchComponent
29
30FullScreenLaunchComponent({ content: Callback\<void>, appId: string, options?: AtomicServiceOptions })
31
32**Decorator**: \@Component
33
34**Atomic service API**: This API can be used in atomic services since API version 12.
35
36**System capability**: SystemCapability.ArkUI.ArkUI.Full
37
38
39**Parameters**
40
41
42| Name| Type| Mandatory| Decorator Type| Description|
43| -------- | -------- | -------- | -------- | -------- |
44| content | Callback\<void> | Yes| \@BuilderParam | Content displayed in the component.|
45| appId | string | Yes| - | Application ID for the atomic service.|
46| options | [AtomicServiceOptions](../../apis-ability-kit/js-apis-app-ability-atomicServiceOptions.md) | No| - | Parameters for launching the atomic service.|
47
48## Events
49The [universal events](ts-universal-events-click.md) are not supported.
50
51## Example
52
53```ts
54import { FullScreenLaunchComponent } from '@kit.ArkUI';
55
56@Entry
57@Component
58struct Index {
59  @State appId: string = '6918661953712445909';
60
61  build() {
62    Row() {
63      Column() {
64        FullScreenLaunchComponent({
65          content: ColumChild,
66          appId: this.appId,
67          options: {}
68        }).width("80vp").height("80vp")
69      }
70      .width('100%')
71    }
72    .height('100%')
73  }
74}
75
76@Builder
77function ColumChild() {
78  Column() {
79    Image($r('app.media.icon'))
80    Text('test')
81  }
82}
83```
84