# Service

> The C# definition of the <service> Android Manifest element.

## Definition

* **Type:** Class
* **Namespace:** [Unity.Android.Gradle.Manifest](/engine/6000.5/script-reference/unity/android/gradle/manifest.md)
* **Assembly:** Unity.Android.Gradle
* **Inherits from:** [BaseElement](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement.md)
* **Implements:** [ICloneable](https://learn.microsoft.com/dotnet/api/system.icloneable)

```csharp
public sealed class Service : BaseElement, ICloneable
```

## Remarks

For more information about the element, see Android's documentation: [Service element](https://developer.android.com/guide/topics/manifest/service-element)

## Constructors

| Constructor                                                                                                                                        | Description          |
| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| [Service()](/engine/6000.5/script-reference/unity/android/gradle/manifest/service/ctor.md#service\(\))                                             | Element constructor. |
| [Service(Unity.Android.Gradle.Manifest.Service)](/engine/6000.5/script-reference/unity/android/gradle/manifest/service/ctor.md#service\(service\)) | Element constructor. |

## Properties

| Property                                                                                                      | Description                                               |
| ------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
| [Attributes](/engine/6000.5/script-reference/unity/android/gradle/manifest/service/attributes.md)             | The attributes container for the `  <service>  ` element. |
| [IntentFilterList](/engine/6000.5/script-reference/unity/android/gradle/manifest/service/intentfilterlist.md) | List of `<intent-filter>` child elements.                 |
| [MetaDataList](/engine/6000.5/script-reference/unity/android/gradle/manifest/service/metadatalist.md)         | List of `<meta-data>` child elements.                     |

## Classes

| Class                                                                                                                       | Description                                               |
| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
| [Service.AttributesContainer](/engine/6000.5/script-reference/unity/android/gradle/manifest/service/attributescontainer.md) | The attributes container for the `  <service>  ` element. |

## Inheritance

**Inherited Members:**

* [BaseElement.GetName()](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/getname.md)
* [BaseElement.GetID()](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/getid.md)
* [BaseElement.ResolveConflict()](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/resolveconflict.md)
* [BaseElement.GetUniqueName()](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/getuniquename.md)
* [BaseElement.GetCustomAttribute(string)](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/getcustomattribute.md)
* [BaseElement.GetAllAttributes()](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/getallattributes.md)
* [BaseElement.SetCustomAttribute(string, string)](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/setcustomattribute.md)
* [BaseElement.RemoveCustomAttribute(string)](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/removecustomattribute.md)
* [BaseElement.AddCustomElement(string, Dictionary\<string, string>)](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/addcustomelement.md)
* [BaseElement.Remove()](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/remove.md)
* [BaseElement.CustomElements()](/engine/6000.5/script-reference/unity/android/gradle/manifest/baseelement/customelements.md)
