> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Intelligent Delivery: OnDemand 콘텐츠

> Intelligent Delivery: OnDemand 콘텐츠

> [!NOTE]
>
> OnDemand 특성의 사용은 더 이상 권장되지 않습니다. 대신, Feature와 Recipe를 사용해 콘텐츠를 독립적으로 추가 및 제거 가능한 그룹으로 그룹화하는 것을 고려하세요. Feature와 Recipe는 OnDemand 특성과 마찬가지로 기본적으로 어떤 콘텐츠가 설치될지 지정할 수 있게 해줍니다.

OnDemand 청크를 사용하면 타이틀이 기본적으로 설치되지 않지만 사용자의 요청 시 또는 타이틀이 [XPackageInstallChunks](https://docs.xbox.com/ko/reference/system/xpackage/functions/xpackageinstallchunks.md) 메서드를 호출할 때 설치할 수 있는 콘텐츠를 지정할 수 있습니다.

청크를 OnDemand로 지정하려면 다음 예제와 같이 layout.xml 파일의 청크에 `OnDemand` 특성을 적용합니다.

```xml theme={null}
<Chunk Id="6000" Tags="LevelEditor" OnDemand="true">  
```

`OnDemand` 특성을 포함하는 청크는 런타임 API가 태그로 관련 청크를 참조할 수 있도록 사용자 지정 태그 지정자도 포함해야 합니다.

타이틀은 [XPackageUninstallChunks](https://docs.xbox.com/ko/reference/system/xpackage/functions/xpackageuninstallchunks.md) 메서드를 호출하여 OnDemand 콘텐츠를 제거할 수 있습니다.

## 참조 API 문서

* [XPackage(API 콘텐츠)](https://docs.xbox.com/ko/reference/system/xpackage/xpackage_members.md)
  * 함수
    * [XPackageInstallChunks](https://docs.xbox.com/ko/reference/system/xpackage/functions/xpackageinstallchunks.md)
    * [XPackageUninstallChunks](https://docs.xbox.com/ko/reference/system/xpackage/functions/xpackageuninstallchunks.md)

## 함께 보기

[Intelligent Delivery](https://docs.xbox.com/ko/build/core-features/common/packaging/overviews/intelligentdelivery.md)


## Related topics

- [Intelligent Delivery](https://docs.xbox.com/ko/build/core-features/common/packaging/overviews/intelligentdelivery.md)
- [XPackageUninstallChunks](https://docs.xbox.com/ko/reference/system/xpackage/functions/xpackageuninstallchunks.md)
- [XPackageInstallChunks](https://docs.xbox.com/ko/reference/system/xpackage/functions/xpackageinstallchunks.md)
- [XBOX GDK 타이틀의 패키징 및 배포](https://docs.xbox.com/ko/build/core-features/common/packaging/index.md)
- [Intelligent Delivery: 사용자 지정 태그 지정자](https://docs.xbox.com/ko/build/core-features/common/packaging/intelligentdelivery-custom.md)
