Packages

p

ophan.thrift

nativeapp

package nativeapp

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait App extends ThriftStruct with Product4[Option[String], Option[String], Option[String], Option[Edition]] with HasThriftStructCodec3[App] with Serializable

    Prefer the companion object's ophan.thrift.nativeapp.App.apply for construction if you don't need to specify passthrough fields.

  2. trait Device extends ThriftStruct with Product2[Option[String], Option[String]] with HasThriftStructCodec3[Device] with Serializable

    Prefer the companion object's ophan.thrift.nativeapp.Device.apply for construction if you don't need to specify passthrough fields.

  3. sealed trait Edition extends ThriftEnum with Serializable

    A specific version of the app exisits for each edition in the content api.

    A specific version of the app exisits for each edition in the content api. For example, US visitors get the US version of our app.

    Annotations
    @Generated()
  4. trait Event extends ThriftStruct with Product21[EventType, String, Option[String], Int, Option[String], Option[String], Option[Source], Option[String], Option[RenderedAd], Option[BenchmarkData], Option[NetworkOperationData], Option[Long], Option[ScrollDepth], Option[MediaPlayback], Option[AbTestInfo], Option[Interaction], Option[Referrer], Option[Url], Option[Seq[String]], Option[ComponentEvent], Option[Acquisition]] with HasThriftStructCodec3[Event] with Serializable

    Prefer the companion object's ophan.thrift.nativeapp.Event.apply for construction if you don't need to specify passthrough fields.

  5. sealed trait EventType extends ThriftEnum with Serializable
    Annotations
    @Generated()
  6. trait NativeAppSubmission extends ThriftStruct with Product8[App, Option[Device], String, Option[String], Option[String], Option[SubscriptionType], Seq[Event], Option[MembershipTier]] with HasThriftStructCodec3[NativeAppSubmission] with Serializable

    Prefer the companion object's ophan.thrift.nativeapp.NativeAppSubmission.apply for construction if you don't need to specify passthrough fields.

  7. trait ScrollDepth extends ThriftStruct with Product3[Int, Option[Int], Option[Int]] with HasThriftStructCodec3[ScrollDepth] with Serializable

    Prefer the companion object's ophan.thrift.nativeapp.ScrollDepth.apply for construction if you don't need to specify passthrough fields.

  8. sealed trait Source extends ThriftEnum with Serializable

    The means by which the user arrived at a page.

    The means by which the user arrived at a page.

    As well as the capitalised versions listed below, these values can be supplied in json as camelCase, e.g. inAppLink

    Annotations
    @Generated()

Value Members

  1. object App extends ThriftStructCodec3[App] with Serializable

    Details about this running application

  2. object Device extends ThriftStructCodec3[Device] with Serializable
  3. object Edition extends Product with Serializable

    A specific version of the app exisits for each edition in the content api.

    A specific version of the app exisits for each edition in the content api. For example, US visitors get the US version of our app.

    Annotations
    @Generated()
  4. object Event extends ThriftStructCodec3[Event] with Serializable

    E.g.

    E.g. a 'page view' see EventType.

  5. object EventType extends Product with Serializable
    Annotations
    @Generated()
  6. object NativeAppSubmission extends ThriftStructCodec3[NativeAppSubmission] with Serializable

    This is the root object that represents a tracking submission from native apps.

    This is the root object that represents a tracking submission from native apps.

    This can be supplied to ophan in one of two ways:

    • Create the equivalent json and POST the json to https://ophan.theguardian.com/mob with a content type of application/json
    • Create a thift binary blob in compact binary protocol format from this definition and POST to https://ophan.theguardian.com/mob a content type of application/vnd.apache.thrift.compact

    Note that, for largely backwards compatibility reasons, in some cases we allow synonyms for enum values in json; these are noted in the descriptions below.

  7. object ScrollDepth extends ThriftStructCodec3[ScrollDepth] with Serializable
  8. object Source extends Product with Serializable

    The means by which the user arrived at a page.

    The means by which the user arrived at a page.

    As well as the capitalised versions listed below, these values can be supplied in json as camelCase, e.g. inAppLink

    Annotations
    @Generated()

Ungrouped