public class VideoGrant extends Object implements Grant
For more information see: https://www.twilio.com/docs/api/rest/access-tokens
| Modifier and Type | Class and Description |
|---|---|
class |
VideoGrant.Payload |
| Constructor and Description |
|---|
VideoGrant() |
| Modifier and Type | Method and Description |
|---|---|
String |
getConfigurationProfileSid()
Deprecated.
use
getRoom() instead. |
String |
getGrantKey()
The key for the grant.
|
Object |
getPayload()
The payload for this grant.
|
String |
getRoom()
Get the room configured in this grant.
|
VideoGrant |
setConfigurationProfileSid(String configurationProfileSid)
Deprecated.
use
setRoom(String) instead. |
VideoGrant |
setRoom(String roomSidOrName)
Set the room to grant access to
|
@Deprecated public String getConfigurationProfileSid()
getRoom() instead.@Deprecated public VideoGrant setConfigurationProfileSid(String configurationProfileSid)
setRoom(String) instead.configurationProfileSid - configuration profile sidpublic String getRoom()
public VideoGrant setRoom(String roomSidOrName)
roomSidOrName - a room sid or namepublic String getGrantKey()
GrantgetGrantKey in interface Grantpublic Object getPayload()
GrantThe payload allows us to decouple the user API from how the grant is structured.
getPayload in interface GrantCopyright © 2016 Twilio, Inc. All Rights Reserved.