XblMultiplayerSessionPropertiesSetReadRestriction
Restricts who can read "open" sessions. (Has no effect on reservations, which means it has no impact on "private" and "visible" sessions.)
Syntax
void XblMultiplayerSessionPropertiesSetReadRestriction(
XblMultiplayerSessionHandle handle,
XblMultiplayerSessionRestriction readRestriction
)
Parameters
handle _In_
Type: XblMultiplayerSessionHandle
Handle to the multiplayer session.
readRestriction _In_
Type: XblMultiplayerSessionRestriction
New read restriction value.
Return value
Type: void
Remarks
Defaults to "none". If "local", only users whose token's DeviceId matches someone else already in the session and "active": true. If "followed", only local users (as defined above) and users who are followed by an existing (not reserved) member of the session can read without a reservation.
Requirements
Header: multiplayer_c.h
Library: Microsoft.Xbox.Services.141.GSDK.C.lib