google_api_games v0.6.0 GoogleApi.Games.V1.Model.RoomLeaveDiagnostics View Source

This is a JSON template for room leave diagnostics.

Attributes

  • androidNetworkSubtype (type: integer(), default: nil) - Android network subtype. http://developer.android.com/reference/android/net/NetworkInfo.html#getSubtype()
  • androidNetworkType (type: integer(), default: nil) - Android network type. http://developer.android.com/reference/android/net/NetworkInfo.html#getType()
  • iosNetworkType (type: integer(), default: nil) - iOS network type as defined in Reachability.h.
  • kind (type: String.t, default: games#roomLeaveDiagnostics) - Uniquely identifies the type of this resource. Value is always the fixed string games#roomLeaveDiagnostics.
  • 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
  • peerSession (type: list(GoogleApi.Games.V1.Model.PeerSessionDiagnostics.t), default: nil) - Diagnostics about all peer sessions.
  • socketsUsed (type: boolean(), default: nil) - Whether or not sockets were used.

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.RoomLeaveDiagnostics{
  androidNetworkSubtype: integer(),
  androidNetworkType: integer(),
  iosNetworkType: integer(),
  kind: String.t(),
  networkOperatorCode: String.t(),
  networkOperatorName: String.t(),
  peerSession: [GoogleApi.Games.V1.Model.PeerSessionDiagnostics.t()],
  socketsUsed: boolean()
}

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.