All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twilio.jwt.accesstoken.PlaybackGrant Maven / Gradle / Ivy

There is a newer version: 10.6.4
Show newest version
package com.twilio.jwt.accesstoken;

import java.util.Map;

/**
 * Grant used to access Twilio Live.
 *
 * 

* For more information see: * * https://www.twilio.com/docs/api/rest/access-tokens * *

*/ public class PlaybackGrant implements Grant { private Map grant; /** * Get the grant payload configured in this grant. * @return The grant payload or null if not set. */ public Map getGrant() { return this.grant; } /** * Set the playback grant * @param grant the playback grant * @return updated PlaybackGrant instance */ public PlaybackGrant setGrant(final Map grant) { this.grant = grant; return this; } public String getGrantKey() { return "player"; } public Object getPayload() { return this.grant; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy