set_access_control


Description:

[ Version ( since = "0.7.0" ) ]
public void set_access_control (string action, YouTubePermission permission)

Sets the permission associated with action on the YouTubeVideo, allowing restriction or derestriction of various operations on YouTube videos.

Note that only YOUTUBE_ACTION_RATE and YOUTUBE_ACTION_COMMENT actions can have the MODERATED permission.

Parameters:

this

a YouTubeVideo

action

the action whose permission is being set

permission

the permission to give to the action




2022 vala-language.org