Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Activity

The C# definition of the <activity> Android Manifest element.
Read time 1 minuteLast updated 10 days ago

Definition

public sealed class Activity : BaseElement, ICloneable

Remarks

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

Constructors

Constructor

Description

Activity()Element constructor.
Activity(Unity.Android.Gradle.Manifest.Activity)Element constructor.

Properties

Property

Description

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

Methods

Method

Description

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.

Classes

Class

Description

Activity.AttributesContainerThe attributes container for the
 <activity> 
element.

Inheritance