Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

AndroidApplication.category

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public static string category;

Description

The category of the application.

Returns one of the following values: accessibility, audio, game, image, maps, news, productivity, social, or video. These are the same values as the android:appCategory attribute in the Android manifest and as PlayerSettings.Android.appCategory in the Editor. Returns an empty string if the application doesn't specify a category, if Android reports a category that's not in this list, or when called outside of an Android Player. For more information, refer to the Android developer documentation on ApplicationInfo.category.