LanguageEnglish
  • C#

Application

class in Unity.Android.Gradle.Manifest

/

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

Description

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

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

Properties

ActivityAliasListList of <activity-alias> child elements.
ActivityListList of <activity> child elements.
AttributesThe attributes container for the <application> element.
MetaDataListList of <meta-data> child elements.
ProfileableChild element <profileable>.
ProviderListList of <provider> child elements.
ReceiverListList of <receiver> child elements.
ServiceListList of <service> child elements.
UsesLibraryListList of <uses-library> child elements.
UsesNativeLibraryListList of <uses-native-library> child elements.

Constructors

ApplicationElement constructor.

Public Methods

AddMetaDataResourceAdds <meta-data> child element that specifies a resource.
AddMetaDataValueAdds <meta-data> child element that specifies a resource value.

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961