google_api_games v0.5.0 GoogleApi.Games.V1.Model.NetworkDiagnostics View Source

This is a JSON template for network diagnostics reported for a client.

Attributes

  • androidNetworkSubtype (type: integer(), default: nil) - The Android network subtype.
  • androidNetworkType (type: integer(), default: nil) - The Android network type.
  • iosNetworkType (type: integer(), default: nil) - iOS network type as defined in Reachability.h.
  • kind (type: String.t, default: games#networkDiagnostics) - Uniquely identifies the type of this resource. Value is always the fixed string games#networkDiagnostics.
  • networkOperatorCode (type: String.t, default: nil) - The MCC+MNC code for the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperator() On iOS, see: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html
  • networkOperatorName (type: String.t, default: nil) - The name of the carrier of the client's network connection. On Android: http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName() On iOS: https://developer.apple.com/library/ios/documentation/NetworkingInternet/Reference/CTCarrier/Reference/Reference.html#//apple_ref/occ/instp/CTCarrier/carrierName
  • registrationLatencyMillis (type: integer(), default: nil) - The amount of time in milliseconds it took for the client to establish a connection with the XMPP server.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Games.V1.Model.NetworkDiagnostics{
  androidNetworkSubtype: integer(),
  androidNetworkType: integer(),
  iosNetworkType: integer(),
  kind: String.t(),
  networkOperatorCode: String.t(),
  networkOperatorName: String.t(),
  registrationLatencyMillis: integer()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.