Show / Hide Table of Contents

    Class App

    Describes the application.

    Inheritance
    Object
    App
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Sentry.Protocol
    Assembly: Sentry.Protocol.dll
    Syntax
    [DataContract]
    public class App
    Remarks

    As opposed to the runtime, this is the actual application that was running and carries meta data about the current session.

    Fields

    | Improve this Doc View Source

    Type

    Tells Sentry which type of context this is.

    Declaration
    [DataMember(Name = "type", EmitDefaultValue = false)]
    public const string Type = "app"
    Field Value
    Type Description
    String

    Properties

    | Improve this Doc View Source

    Build

    Internal build identifier, as it appears on the platform.

    Declaration
    [DataMember(Name = "app_build", EmitDefaultValue = false)]
    public string Build { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    BuildType

    String identifying the kind of build, e.g. testflight.

    Declaration
    [DataMember(Name = "build_type", EmitDefaultValue = false)]
    public string BuildType { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Hash

    Application specific device identifier.

    Declaration
    [DataMember(Name = "device_app_hash", EmitDefaultValue = false)]
    public string Hash { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Identifier

    Version-independent application identifier, often a dotted bundle ID.

    Declaration
    [DataMember(Name = "app_identifier", EmitDefaultValue = false)]
    public string Identifier { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Name

    Human readable application name, as it appears on the platform.

    Declaration
    [DataMember(Name = "app_name", EmitDefaultValue = false)]
    public string Name { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    StartTime

    Formatted UTC timestamp when the application was started by the user.

    Declaration
    [DataMember(Name = "app_start_time", EmitDefaultValue = false)]
    public DateTimeOffset? StartTime { get; set; }
    Property Value
    Type Description
    Nullable<DateTimeOffset>
    | Improve this Doc View Source

    Version

    Human readable application version, as it appears on the platform.

    Declaration
    [DataMember(Name = "app_version", EmitDefaultValue = false)]
    public string Version { get; set; }
    Property Value
    Type Description
    String

    See Also

    https://docs.sentry.io/clientdev/interfaces/contexts/
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX