ServiceAttribute 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
내에서 AndroidManifest.xml요소를 생성합니다/manifest/application/service.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
[System.Serializable]
public sealed class ServiceAttribute : Attribute, Java.Interop.IJniNameProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
[<System.Serializable>]
type ServiceAttribute = class
inherit Attribute
interface IJniNameProviderAttribute
- 상속
-
ServiceAttribute
- 특성
- 구현
설명
이 페이지의 일부는 만들고 공유한 작업을 기반으로 하며 에 설명된 조건에 따라 사용됩니다.
생성자
| Name | Description |
|---|---|
| ServiceAttribute() |
새 ServiceAttribute 인스턴스를 생성하고 초기화합니다. |
속성
| Name | Description |
|---|---|
| Description |
내에서 |
| DirectBootAware |
내에서 |
| Enabled |
시스템에서 서비스를 인스턴스화할 수 있는지 여부입니다. |
| Exported |
다른 애플리케이션의 구성 요소에서 서비스를 시작할 수 있는지 여부입니다. |
| ForegroundServiceType |
내에서 |
| Icon |
서비스를 나타내는 아이콘입니다. |
| IsolatedProcess |
내에서 |
| Label |
서비스에 대한 사용자가 읽을 수 있는 레이블입니다. |
| Name |
서비스를 구현하는 클래스의 이름입니다. |
| Permission |
클라이언트가 서비스를 시작해야 하는 사용 권한의 이름입니다. |
| Process |
서비스가 실행되어야 하는 프로세스의 이름입니다. |
| RoundIcon |
내에서 |