Skip to main content
Table of Contents

TTMSFNCCloudGoogleYouTube.SetVideoRating Method

Sets the authenticated viewer's rating for the given video.

API unit family: TMSFNCCloudGoogleYouTube Declaring type: TTMSFNCCloudGoogleYouTube Inherited from: TTMSFNCCustomCloudGoogleYouTube

Syntax

FMX.TMSFNCCloudGoogleYouTube.hppPascalC++
procedure SetVideoRating(AVideo: TTMSFNCCloudGoogleYouTubeVideo; ARating: TTMSFNCCloudGoogleYouTubeRating);
void __fastcall SetVideoRating(TTMSFNCCloudGoogleYouTubeVideo* AVideo, TTMSFNCCloudGoogleYouTubeRating ARating);

Remarks

The request runs asynchronously; the result is reported through the set-video-rating event.

Parameters

Name Description
AVideo Video to rate.
ARating Rating to apply.