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

Tasks

  • + requestWithTargetRoom:

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

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