CommSettings
A player’s voice and video settings in one app. The four scopes are the EFFECTIVE ones, which the realtime servers enforce on both sending and receiving: the player’s choice, never more than policy allows. An adult may choose anything (EVERYONE by default). For a player under 18 each medium is OFF until a parent consents to it (requestParentalConsent), and then at most CONTACTS. A block always wins: nothing passes between two players while either has blocked the other.
type CommSettings {
appId: BigInt!
isMinor: Boolean!
voiceSend: CommScope!
voiceReceive: CommScope!
videoSend: CommScope!
videoReceive: CommScope!
choices: CommChoices!
voiceAllowed: CommScope!
videoAllowed: CommScope!
voiceConsent: Boolean!
videoConsent: Boolean!
updatedAt: DateTime
}
Fields
CommSettings.appId ● BigInt! non-null scalar
The app.
CommSettings.isMinor ● Boolean! non-null scalar
Whether the player is under 18 (its age bracket is 13_15 or 16_17): every scope is capped at CONTACTS and each medium needs a parent’s consent.
CommSettings.voiceSend ● CommScope! non-null enum
Whom the player’s voice reaches.
CommSettings.voiceReceive ● CommScope! non-null enum
Whose voice the player hears.
CommSettings.videoSend ● CommScope! non-null enum
Whom the player’s video reaches.
CommSettings.videoReceive ● CommScope! non-null enum
Whose video the player sees.
CommSettings.choices ● CommChoices! non-null object
What the player picked.
CommSettings.voiceAllowed ● CommScope! non-null enum
The most voice may be now: EVERYONE for an adult; for a player under 18, OFF until a parent consents to voice, then CONTACTS.
CommSettings.videoAllowed ● CommScope! non-null enum
The most video may be now, by the same rule as voiceAllowed.
CommSettings.voiceConsent ● Boolean! non-null scalar
Whether a parent has consented to voice in this app.
CommSettings.videoConsent ● Boolean! non-null scalar
Whether a parent has consented to video in this app.
CommSettings.updatedAt ● DateTime scalar
When the settings were last written; null before the player’s first token for the app.
Returned By
myCommSettings query ● setMyCommSettings mutation
Member Of
ParentalConsentWithdrawal object