Activity

class in Unity.Android.Gradle.Manifest

/

Inherits from:Unity.Android.Gradle.Manifest.BaseElement

Description

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

For more information about the element, see Android's documentation: Activity element

Properties

AttributesThe attributes container for the <activity> element.
IntentFilterListList of <intent-filter> child elements.
LayoutChild element <layout>.
MetaDataListList of <meta-data> child elements.

Constructors

ActivityElement constructor.

Public Methods

AddMetaDataResourceAdds <meta-data> child element that specifies a resource.
AddMetaDataValueAdds <meta-data> child element that specifies a resource value.
GetLauncherIntentFilterGets <intent-filter> element that contains the LAUNCHER category.

Inherited Members

Properties

CustomElementsCustom child elements.

Public Methods

AddCustomElementAdds a new element as a child.
GetAllAttributesGets all attributes on this element.
GetCustomAttributeGets a custom attribute by attribute name.
GetIDGets the unique ID of the element.
GetNameGets the element name.
GetUniqueNameGets a unique name of the element.
RemoveRemoves this element from the file.
RemoveCustomAttributeRemoves a custom attribute by name.
ResolveConflictResolve a conflict if element was already modified by another script.
SetCustomAttributeSets a custom attribute with name and value.

Did you find this page useful? Please give it a rating: