Inherits from BaseRequest : NSObject
Declared in PlayerToSpectatorRequest.h
PlayerToSpectatorRequest.m

Overview

Attempt to turn the current User from Player to a Spectator (in a Game Room)

This could fail if no Spectator slots are available in the Room at the time of the request

Class Methods

requestWithTargetRoom:

the Room where the change has to be performed, a null value indicates the last joined Room (default)

+ (id)requestWithTargetRoom:(id<Room>)room

Parameters

room

the Room where the change has to be performed, a null value indicates the last joined Room (default)

Declared In

PlayerToSpectatorRequest.h