C# Class VimeoAPI.Vimeo

Datei anzeigen Open project: TechSmith/VimeoAPI

Protected Properties

Property Type Description
m_eScope VimeoScope
m_strClientID string
m_strClientSecret string
m_strRedirectURI string

Public Methods

Method Description
BackupParseForAccessToken ( string strResponse ) : void
GetAccessToken ( string &strAccessToken ) : bool
GetCategories ( ) : int
GetErrorMessage ( string &strErrorMessage ) : bool
GetURL ( string &strURL ) : bool
GetUserAuthorizationURL ( string &strURL ) : bool
GetUserName ( string &strUserName ) : bool
LoadAccessToken ( string strAccessToken ) : bool
ObtainAccessToken ( string strURL ) : bool
SetPrivacyInformation ( string strClipURI, Privacy ePrivacy, string strPassword ) : bool
SetVideoInformation ( string strClipURI, string strTitle, string strDescription ) : bool
SetVideoTags ( string strClipURI, string strTags ) : bool
StartsWithCallbackURL ( string strURL ) : bool
Upload ( string strFile, string strTitle, string strDescription, string strTags, Privacy ePrivacy, string strPassword, IProgress pProgress ) : bool
Vimeo ( string strClientID, string strClientSecret ) : System

Private Methods

Method Description
BuildURL ( string strPath, string strParams ) : string
CompleteUpload ( string strCompleteUri ) : bool
ExchangeCodeForAccessTokens ( string strAccessCode ) : bool
GenerateQueryParams ( string>.IDictionary KeyValues ) : string
GenerateUploadTicket ( ) : UploadTicketResponse
GetPrivacyString ( Privacy ePrivacy ) : string
UploadFile ( string strURL, string strFile, string strCompleteURI, IProgress pProgress ) : bool
VerifyUpload ( string strURL ) : bool

Method Details

BackupParseForAccessToken() public method

public BackupParseForAccessToken ( string strResponse ) : void
strResponse string
return void

GetAccessToken() public method

public GetAccessToken ( string &strAccessToken ) : bool
strAccessToken string
return bool

GetCategories() public method

public GetCategories ( ) : int
return int

GetErrorMessage() public method

public GetErrorMessage ( string &strErrorMessage ) : bool
strErrorMessage string
return bool

GetURL() public method

public GetURL ( string &strURL ) : bool
strURL string
return bool

GetUserAuthorizationURL() public method

public GetUserAuthorizationURL ( string &strURL ) : bool
strURL string
return bool

GetUserName() public method

public GetUserName ( string &strUserName ) : bool
strUserName string
return bool

LoadAccessToken() public method

public LoadAccessToken ( string strAccessToken ) : bool
strAccessToken string
return bool

ObtainAccessToken() public method

public ObtainAccessToken ( string strURL ) : bool
strURL string
return bool

SetPrivacyInformation() public method

public SetPrivacyInformation ( string strClipURI, Privacy ePrivacy, string strPassword ) : bool
strClipURI string
ePrivacy Privacy
strPassword string
return bool

SetVideoInformation() public method

public SetVideoInformation ( string strClipURI, string strTitle, string strDescription ) : bool
strClipURI string
strTitle string
strDescription string
return bool

SetVideoTags() public method

public SetVideoTags ( string strClipURI, string strTags ) : bool
strClipURI string
strTags string
return bool

StartsWithCallbackURL() public static method

public static StartsWithCallbackURL ( string strURL ) : bool
strURL string
return bool

Upload() public method

public Upload ( string strFile, string strTitle, string strDescription, string strTags, Privacy ePrivacy, string strPassword, IProgress pProgress ) : bool
strFile string
strTitle string
strDescription string
strTags string
ePrivacy Privacy
strPassword string
pProgress IProgress
return bool

Vimeo() public method

public Vimeo ( string strClientID, string strClientSecret ) : System
strClientID string
strClientSecret string
return System

Property Details

m_eScope protected_oe property

protected VimeoScope m_eScope
return VimeoScope

m_strClientID protected_oe property

protected string m_strClientID
return string

m_strClientSecret protected_oe property

protected string m_strClientSecret
return string

m_strRedirectURI protected_oe property

protected string m_strRedirectURI
return string