YoutubeClient(String, String, YoutubeScopes) Constructor
Namespace: DevCase.ThirdParty.Google.YoutubeAssembly: DevCase.net48.ThirdParty.GoogleServices (in DevCase.net48.ThirdParty.GoogleServices.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public YoutubeClient(
string apiFile,
string mailAddress,
YoutubeScopes scopes
)
Public Sub New (
apiFile As String,
mailAddress As String,
scopes As YoutubeScopes
)
Dim apiFile As String
Dim mailAddress As String
Dim scopes As YoutubeScopes
Dim instance As New YoutubeClient(apiFile,
mailAddress, scopes)
public:
YoutubeClient(
String^ apiFile,
String^ mailAddress,
YoutubeScopes scopes
)
new :
apiFile : string *
mailAddress : string *
scopes : YoutubeScopes -> YoutubeClient
No code example is currently available or this language may not be supported.
Parameters
- apiFile String
-
The client_secrets.json file generated by Youtube API console that contains the OAuthv2 login data
such as the client id, client secret, and redirection URI.
- mailAddress String
-
The mail address to authorize Youtube service. (e.g: "yourmail@gmail.com")
- scopes YoutubeScopes
-
The Youtube OAuthv2 scope.