docs.unity3d.com
    Show / Hide Table of Contents

    Class AppInfo

    Contains all values that can be localized in the iOS Application. These are values that can be displayed when the App is not running such as the application name displayed on the home screen.

    Inheritance
    Object
    AppInfo
    Namespace: UnityEngine.Localization.Platform.iOS
    Syntax
    public class AppInfo : object, IMetadata

    Properties

    CameraUsageDescription

    A message that tells the user why the app is requesting access to the device’s camera. NSCameraUsageDescription field in xcode projects info.plist file

    Declaration
    public LocalizedString CameraUsageDescription { get; set; }
    Property Value
    Type Description
    LocalizedString

    DisplayName

    The user-visible name for the bundle, used by Siri and visible on the iOS Home screen. Use this key if you want a product name that's longer than ShortName. CFBundleDisplayName field in xcode projects info.plist file.

    Declaration
    public LocalizedString DisplayName { get; set; }
    Property Value
    Type Description
    LocalizedString

    LocationUsageDescription

    A message that tells the user why the app is requesting access to the user’s location information while the app is running in the foreground. NSLocationWhenInUseUsageDescription field in xcode projects info.plist file.

    Declaration
    public LocalizedString LocationUsageDescription { get; set; }
    Property Value
    Type Description
    LocalizedString

    MicrophoneUsageDescription

    A message that tells the user why the app is requesting access to the device’s microphone. NSMicrophoneUsageDescription field in xcode projects info.plist file.

    Declaration
    public LocalizedString MicrophoneUsageDescription { get; set; }
    Property Value
    Type Description
    LocalizedString

    ShortName

    The user-visible name for the bundle, used by Siri and visible on the iOS Home screen. This name can contain up to 15 characters. CFBundleName field in xcode projects info.plist file.

    Declaration
    public LocalizedString ShortName { get; set; }
    Property Value
    Type Description
    LocalizedString

    UserTrackingUsageDescription

    A message that informs the user why an app is requesting permission to use data for tracking the user or the device. NSUserTrackingUsageDescription field in xcode projects info.plist file.

    Declaration
    public LocalizedString UserTrackingUsageDescription { get; set; }
    Property Value
    Type Description
    LocalizedString
    In This Article
    • Properties
      • CameraUsageDescription
      • DisplayName
      • LocationUsageDescription
      • MicrophoneUsageDescription
      • ShortName
      • UserTrackingUsageDescription
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023