package nativeapp
- Alphabetic
- Public
- All
Type Members
-
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.
-
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.
-
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()
-
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.
-
sealed
trait
EventType extends ThriftEnum with Serializable
- Annotations
- @Generated()
-
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.
-
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.
-
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
-
object
App extends ThriftStructCodec3[App] with Serializable
Details about this running application
- object Device extends ThriftStructCodec3[Device] with Serializable
-
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()
-
object
Event extends ThriftStructCodec3[Event] with Serializable
E.g.
E.g. a 'page view' see EventType.
-
object
EventType extends Product with Serializable
- Annotations
- @Generated()
-
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.
- object ScrollDepth extends ThriftStructCodec3[ScrollDepth] with Serializable
-
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()