AI2 Component  (Version nb184)
ServiceElement.java
Go to the documentation of this file.
1 // -*- mode: java; c-basic-offset: 2; -*-
2 // Copyright 2020 MIT, All rights reserved
3 // Released under the Apache License, Version 2.0
4 // http://www.apache.org/licenses/LICENSE-2.0
5 
6 package com.google.appinventor.components.annotations.androidmanifest;
7 
8 import java.lang.annotation.ElementType;
9 import java.lang.annotation.Retention;
10 import java.lang.annotation.RetentionPolicy;
11 import java.lang.annotation.Target;
12 
33 @Retention(RetentionPolicy.RUNTIME)
34 @Target(ElementType.TYPE)
35 public @interface ServiceElement {
43 
51 
61  String name();
62 
71  String isolatedProcess() default "";
72 
83  String foregroundServiceType() default "";
84 
92  String description() default "";
93 
100  String directBootAware() default "";
101 
113  String enabled() default "";
114 
135  String exported() default "";
136 
148  String icon() default "";
149 
159  String label() default "";
160 
173  String permission() default "";
174 
193  String process() default "";
194 }
com.google.appinventor.components.annotations.androidmanifest.MetaDataElement
Definition: MetaDataElement.java:44
com.google.appinventor.components.annotations.androidmanifest.IntentFilterElement
Definition: IntentFilterElement.java:30
com.google.appinventor.components.annotations.androidmanifest.ServiceElement.intentFilters
IntentFilterElement[] intentFilters() default
Definition: ServiceElement.java:42
com.google.appinventor.components.annotations.androidmanifest.ServiceElement
Definition: ServiceElement.java:35
com.google.appinventor.components.annotations.androidmanifest.ServiceElement.metaDataElements
MetaDataElement[] metaDataElements() default
Definition: ServiceElement.java:50