Loading...
Searching...
No Matches
AccelByte.Api.UGC Class Reference

Provide APIs to access User-Generated Content (UGC) service. More...

Inheritance diagram for AccelByte.Api.UGC:

Public Member Functions

void CreateContent (string channelId, UGCRequest createRequest, ResultCallback< UGCResponse > callback)
 Create a content with string preview and get the payload url to upload the content.
void CreateContent (string channelId, string name, string type, string subtype, string[] tags, byte[] preview, string fileExtension, ResultCallback< UGCResponse > callback, string contentType="application/octet-stream")
 Create a content with byte array Preview paramater and get the payload url to upload the content.
void ModifyContent (string channelId, string contentId, UGCUpdateRequest ModifyRequest, ResultCallback< UGCResponse > callback)
 Modify existing content to update some information with string preview.
void ModifyContent (string channelId, string contentId, UGCRequest ModifyRequest, ResultCallback< UGCResponse > callback, bool updateContent=false)
 Modify existing content to update some information with string preview.
void ModifyContent (string channelId, string contentId, string name, string type, string subtype, string[] tags, byte[] preview, string fileExtension, ResultCallback< UGCResponse > callback, string contentType="application/octet-stream", bool updateContent=false)
 Modify existing content to update some information with byte array Preview paramater.
void DeleteContent (string channelId, string contentId, ResultCallback callback)
 Delete a content based on the its channel id and content id.
void GetContentByContentId (string contentId, ResultCallback< UGCContentResponse > callback)
 Get a content information by its content id.
void GetContentByShareCode (string shareCode, ResultCallback< UGCContentResponse > callback)
 Get a content information by its share code.
void GetContentPreview (string contentId, ResultCallback< UGCPreview > callback)
 Get content preview as UGCPreview Model.
void GetContentPreview (string contentId, ResultCallback< byte[]> callback)
 Get content preview as byte array.
void GetTags (ResultCallback< UGCTagsPagingResponse > callback, int offset=0, int limit=1000)
 Get all tags.
void GetTypes (ResultCallback< UGCTypesPagingResponse > callback, int offset=0, int limit=1000)
 Get all of player's types and subtypes.
void CreateChannel (string channelName, ResultCallback< UGCChannelResponse > callback)
 Create player's channel with specific channel name.
void GetChannels (string userId, ResultCallback< UGCChannelPagingResponse > callback, int offset=0, int limit=1000, string channelName="")
 Get all of the player's channels.
void GetChannels (ResultCallback< UGCChannelPagingResponse > callback, int offset=0, int limit=1000, string channelName="")
 Get all of the player's channels.
void DeleteChannel (string channelId, ResultCallback callback)
 Delete player's channel based on the its channel id.
void SearchContent (SearchContentRequest searchContentRequest, ResultCallback< UGCSearchContentsPagingResponse > callback)
 Search Content player's channel based on the its channel id.
void SearchContentsSpesificToChannel (string channelId, SearchContentRequest searchContentRequest, ResultCallback< UGCSearchContentsPagingResponse > callback)
 Search Content player's channel based on the its channel id.
void UpdateLikeStatusToContent (string contentId, bool likeStatus, ResultCallback< UGCUpdateLikeStatusToContentResponse > callback)
void GetListFollowers (ResultCallback< UGCGetListFollowersPagingResponse > callback, int limit=1000, int offset=0)
 Get List Followers.
void UpdateFollowStatus (bool followStatus, ResultCallback< UGCUpdateFollowStatusToUserResponse > callback)
 Update follow/unfollow status to user.
void UpdateFollowStatus (bool followStatus, string userId, ResultCallback< UGCUpdateFollowStatusToUserResponse > callback)
 Update follow/unfollow status to user.
void GetBulkContentId (string[] contentIds, ResultCallback< UGCModelsContentsResponse[]> callback)
 Get Bulk ContentId.
void GetUserContents (string userId, ResultCallback< UGCContentsPagingResponse > callback, int limit=1000, int offset=0)
 Get User Contents.
void UploadScreenshotContent (string contentId, string userId, ScreenshotsRequest screenshotsRequest, ResultCallback< ScreenshotsResponse > callback)
 Get User Contents.
void GetContentFollowed (ResultCallback< UGCContentsPagingResponse > callback, int limit=1000, int offset=0)
 Get Content Followed.
void GetFollowedCreators (ResultCallback< UGCGetListFollowersPagingResponse > callback, int limit=1000, int offset=0)
 Get Followed Creators.
void GetListFollowing (string userId, ResultCallback< UGCGetListFollowersPagingResponse > callback, int limit=1000, int offset=0)
 Get List Following.
void GetLikedContents (GetLikedContentRequest getLikedContentRequest, ResultCallback< UGCContentsPagingResponse > callback)
 Get Liked Contents.
void GetLikedContents (GetAllLikedContentRequest getLikedContentRequest, ResultCallback< UGCContentsPagingResponse > callback)
 Get Liked Contents.
void GetCreatorStats (string userId, ResultCallback< UGCGetCreatorStatsResponse > callback)
 Get Creator Stats.
void GetUserGroups (string userId, ResultCallback< UGCGetUserGroupsPagingResponse > callback, int limit=1000, int offset=0)
 Get User Groups.
void UpdateChannel (string channelId, string name, ResultCallback< UGCChannelResponse > callback)
 Update channel.
void ModifyContentByShareCode (string channelId, string shareCode, UGCUpdateRequest modifyRequest, ResultCallback< UGCResponse > callback)
 Modify existing content to update some information by share code.
void DeleteContentByShareCode (string channelId, string shareCode, ResultCallback callback)
 Delete a content based on its channel id and share code.
void BulkGetContentByShareCode (string[] shareCodes, ResultCallback< UGCModelsContentsResponse[]> callback)
 Get contents by share codes.
void SearchContentsSpecificToChannelV2 (string channelId, ResultCallback< UGCSearchContentsPagingResponseV2 > callback, int limit=20, int offset=0, UGCContentDownloaderSortBy sortBy=UGCContentDownloaderSortBy.CreatedTimeDesc)
 Search contents specific to a channel.
void SearchContentsV2 (UGCGetContentFilterRequestV2 filterRequest, ResultCallback< UGCSearchContentsPagingResponseV2 > callback, int limit=20, int offset=0, UGCContentSortBy sortBy=UGCContentSortBy.CreatedTimeDesc)
 Get all contents in current namespace.
void GetContentBulkByIdsV2 (string[] contentIds, ResultCallback< UGCModelsContentsResponseV2[]> callback)
 Get contents by content Ids.
void GetContentByShareCodeV2 (string shareCode, ResultCallback< UGCModelsContentsResponseV2 > callback)
 Get a content information by its share code.
void GetContentByContentIdV2 (string contentId, ResultCallback< UGCModelsContentsResponseV2 > callback)
 Get a content information by its content id.
void CreateContentV2 (string channelId, CreateUGCRequestV2 createRequest, ResultCallback< UGCModelsCreateUGCResponseV2 > callback)
 Create a UGC content with create content request.
void DeleteContentV2 (string channelId, string contentId, ResultCallback callback)
 Delete a content based on the its channel id and content id.
void ModifyContentV2 (string channelId, string contentId, ModifyUGCRequestV2 modifyRequest, ResultCallback< UGCModelsModifyUGCResponseV2 > callback)
 Modify existing content to update some information.
void GenerateUploadContentURLV2 (string channelId, string contentId, UGCUploadContentURLRequestV2 uploadRequest, ResultCallback< UGCModelsUploadContentURLResponseV2 > callback)
 Generate Upload URL and Conten File Location.
void UpdateContentFileLocationV2 (string channelId, string contentId, string fileExtension, string s3Key, ResultCallback< UpdateContentFileLocationResponseV2 > callback)
 Update Content File Location in S3.
void GetUserContentsV2 (string userId, ResultCallback< UGCSearchContentsPagingResponseV2 > callback, int limit=20, int offset=0, UGCContentDownloaderSortBy sortBy=UGCContentDownloaderSortBy.CreatedTimeDesc)
 Get user's generated contents.
void UpdateContentScreenshotV2 (string contentId, ScreenshotsUpdatesV2 updateSreenshotsRequest, ResultCallback< ScreenshotsUpdatesV2 > callback)
 Update screenshots for content.
void UploadContentScreenshotV2 (string contentId, ScreenshotsRequest screenshotsRequest, ResultCallback< ScreenshotsResponseV2 > callback)
 Upload screenshots for content.
void DeleteContentScreenshotV2 (string contentId, string screenshotId, ResultCallback callback)
 Delete screenshots for content.
void BulkGetContentByShareCodeV2 (string[] shareCodes, ResultCallback< UGCModelsContentsResponseV2[]> callback)
 Get contents by share codes.
void AddDownloadContentCountV2 (string contentId, ResultCallback< UGCModelsAddDownloadContentCountResponseV2 > callback)
 Add download count for a content.
void GetListContentDownloaderV2 (string contentId, ResultCallback< UGCModelsPaginatedContentDownloaderResponseV2 > callback, string userId="", int limit=20, int offset=0, UGCContentDownloaderSortBy sortBy=UGCContentDownloaderSortBy.CreatedTimeDesc)
 Get list of UGC content downloader.
void GetListContentLikerV2 (string contentId, ResultCallback< UGCModelsPaginatedContentLikerResponseV2 > callback, int limit=20, int offset=0, UGCContentDownloaderSortBy sortBy=UGCContentDownloaderSortBy.CreatedTimeDesc)
 Get a list of users who like the content.
void UpdateLikeStatusToContentV2 (string contentId, bool likeStatus, ResultCallback< UGCUpdateLikeStatusToContentResponse > callback)
void GetUserStagingContentByContentId (string userId, string contentId, ResultCallback< UGCModelStagingContent > callback)
void GetListStagingContent (string userId, UGCStagingContentStatus status, int limit, int offset, UGCListStagingContentSortBy sortBy, ResultCallback< UGCModelsPaginatedStagingContentResponse > callback)
void ModifyStagingContentByContentId (string userId, string contentId, UGCUpdateStagingContentRequest modifyRequest, ResultCallback< UGCModelStagingContent > callback)
 Modify staging content to update some information based on content id.
void DeleteStagingContentByContentId (string userId, string contentId, ResultCallback callback)

Additional Inherited Members

Properties inherited from AccelByte.Core.WrapperBase
Utils.AccelByteIdValidator IdValidator [get]

Detailed Description

Provide APIs to access User-Generated Content (UGC) service.

Member Function Documentation

◆ AddDownloadContentCountV2()

void AccelByte.Api.UGC.AddDownloadContentCountV2 ( string contentId,
ResultCallback< UGCModelsAddDownloadContentCountResponseV2 > callback )
inline

Add download count for a content.

Parameters
contentIdThe contentId.
callbackThis will be called when the operation succeeded.

◆ BulkGetContentByShareCode()

void AccelByte.Api.UGC.BulkGetContentByShareCode ( string[] shareCodes,
ResultCallback< UGCModelsContentsResponse[]> callback )
inline

Get contents by share codes.

Parameters
shareCodesContent ShareCodes Array
callbackThis will be called when the operation succeeded.

◆ BulkGetContentByShareCodeV2()

void AccelByte.Api.UGC.BulkGetContentByShareCodeV2 ( string[] shareCodes,
ResultCallback< UGCModelsContentsResponseV2[]> callback )
inline

Get contents by share codes.

Parameters
shareCodesContent ShareCodes Array
callbackThis will be called when the operation succeeded.

◆ CreateChannel()

void AccelByte.Api.UGC.CreateChannel ( string channelName,
ResultCallback< UGCChannelResponse > callback )
inline

Create player's channel with specific channel name.

Parameters
channelNameThe name of the channel.
callbackThis will be called when the operation succeeded. The result is UGCChannelResponse Model.

◆ CreateContent() [1/2]

void AccelByte.Api.UGC.CreateContent ( string channelId,
string name,
string type,
string subtype,
string[] tags,
byte[] preview,
string fileExtension,
ResultCallback< UGCResponse > callback,
string contentType = "application/octet-stream" )
inline

Create a content with byte array Preview paramater and get the payload url to upload the content.

Parameters
channelIdThe id of the content's channel.
nameName of the content.
typeType of the content.
subtypeSubType of the content.
tagsTags of the content.
previewPreview the byte array of the content's preview.
fileExtensionFileExtension of the content
callbackThis will be called when the operation succeeded. The result is UGCResponse Model.
contentTypeThe specific type of the content's created. default value is "application/octet-stream"

◆ CreateContent() [2/2]

void AccelByte.Api.UGC.CreateContent ( string channelId,
UGCRequest createRequest,
ResultCallback< UGCResponse > callback )
inline

Create a content with string preview and get the payload url to upload the content.

Parameters
channelIdThe id of the content's channel.
createRequestDetail information for the content request.
callbackThis will be called when the operation succeeded. The result is UGCResponse Model.

◆ CreateContentV2()

void AccelByte.Api.UGC.CreateContentV2 ( string channelId,
CreateUGCRequestV2 createRequest,
ResultCallback< UGCModelsCreateUGCResponseV2 > callback )
inline

Create a UGC content with create content request.

Parameters
channelId The id of the content's channel.
createRequestDetail information for the content request.
callbackThis will be called when the operation succeeded.

◆ DeleteChannel()

void AccelByte.Api.UGC.DeleteChannel ( string channelId,
ResultCallback callback )
inline

Delete player's channel based on the its channel id.

Parameters
channelIdThe id of the channel that will be deleted.
callbackThis will be called when the operation succeeded.

◆ DeleteContent()

void AccelByte.Api.UGC.DeleteContent ( string channelId,
string contentId,
ResultCallback callback )
inline

Delete a content based on the its channel id and content id.

Parameters
channelIdThe id of the content's channel.
contentIdThe id of the content that will be deleted.
callbackThis will be called when the operation succeeded.

◆ DeleteContentByShareCode()

void AccelByte.Api.UGC.DeleteContentByShareCode ( string channelId,
string shareCode,
ResultCallback callback )
inline

Delete a content based on its channel id and share code.

Parameters
channelIdThe id of the content's channel.
shareCodeThe share code of the content that will be fetched.
callbackThis will be called when the operation succeeded.

◆ DeleteContentScreenshotV2()

void AccelByte.Api.UGC.DeleteContentScreenshotV2 ( string contentId,
string screenshotId,
ResultCallback callback )
inline

Delete screenshots for content.

Parameters
contentIdContent Id.
screenshotIdScreenshot Id.
callbackThis will be called when the operation succeeded.</param

◆ DeleteContentV2()

void AccelByte.Api.UGC.DeleteContentV2 ( string channelId,
string contentId,
ResultCallback callback )
inline

Delete a content based on the its channel id and content id.

Parameters
channelIdThe id of the content's channel.
contentIdThe id of the content that will be deleted.
callbackThis will be called when the operation succeeded.

◆ DeleteStagingContentByContentId()

void AccelByte.Api.UGC.DeleteStagingContentByContentId ( string userId,
string contentId,
ResultCallback callback )
inline

Delete a content based on content id. </summary

Parameters
userId The User id.
contentId The content id that will be fetched.
callbackThis will be called when the operation succeeded.

◆ GenerateUploadContentURLV2()

void AccelByte.Api.UGC.GenerateUploadContentURLV2 ( string channelId,
string contentId,
UGCUploadContentURLRequestV2 uploadRequest,
ResultCallback< UGCModelsUploadContentURLResponseV2 > callback )
inline

Generate Upload URL and Conten File Location.

Parameters
channelId The id of the content's channel.
contentIdThe contentId.
uploadRequestDetail information for the upload request.
callbackThis will be called when the operation succeeded.

◆ GetBulkContentId()

void AccelByte.Api.UGC.GetBulkContentId ( string[] contentIds,
ResultCallback< UGCModelsContentsResponse[]> callback )
inline

Get Bulk ContentId.

Parameters
contentIdThe content Ids.
callbackThis will be called when the operation succeeded.

◆ GetChannels() [1/2]

void AccelByte.Api.UGC.GetChannels ( ResultCallback< UGCChannelPagingResponse > callback,
int offset = 0,
int limit = 1000,
string channelName = "" )
inline

Get all of the player's channels.

Parameters
callbackThis will be called when the operation succeeded. The result is UGCChannelsPagingResponse Model.
offsetThe offset of the channel results. Default value is 0.
limitThe limit of the channel results. Default value is 1000.
channelNameThe name of the channel you want to query.

◆ GetChannels() [2/2]

void AccelByte.Api.UGC.GetChannels ( string userId,
ResultCallback< UGCChannelPagingResponse > callback,
int offset = 0,
int limit = 1000,
string channelName = "" )
inline

Get all of the player's channels.

Parameters
userIdThe userId.
callbackThis will be called when the operation succeeded. The result is UGCChannelsPagingResponse Model.
offsetThe offset of the channel results. Default value is 0.
limitThe limit of the channel results. Default value is 1000.
channelNameThe name of the channel you want to query.

◆ GetContentBulkByIdsV2()

void AccelByte.Api.UGC.GetContentBulkByIdsV2 ( string[] contentIds,
ResultCallback< UGCModelsContentsResponseV2[]> callback )
inline

Get contents by content Ids.

Parameters
contentIdContent Ids Array
callbackThis will be called when the operation succeeded.

◆ GetContentByContentId()

void AccelByte.Api.UGC.GetContentByContentId ( string contentId,
ResultCallback< UGCContentResponse > callback )
inline

Get a content information by its content id.

Parameters
contentIdThe id of the content that will be fetched.
callbackThis will be called when the operation succeeded. The result is UGCContentResponse Model.

◆ GetContentByContentIdV2()

void AccelByte.Api.UGC.GetContentByContentIdV2 ( string contentId,
ResultCallback< UGCModelsContentsResponseV2 > callback )
inline

Get a content information by its content id.

Parameters
contentIdThe id of the content that will be fetched.
callbackThis will be called when the operation succeeded.

◆ GetContentByShareCode()

void AccelByte.Api.UGC.GetContentByShareCode ( string shareCode,
ResultCallback< UGCContentResponse > callback )
inline

Get a content information by its share code.

Parameters
shareCodeThe share code of the content that will be fetched.
callbackThis will be called when the operation succeeded. The result is UGCContentResponse Model.

◆ GetContentByShareCodeV2()

void AccelByte.Api.UGC.GetContentByShareCodeV2 ( string shareCode,
ResultCallback< UGCModelsContentsResponseV2 > callback )
inline

Get a content information by its share code.

Parameters
shareCodeThe share code of the content that will be fetched.
callbackThis will be called when the operation succeeded.

◆ GetContentFollowed()

void AccelByte.Api.UGC.GetContentFollowed ( ResultCallback< UGCContentsPagingResponse > callback,
int limit = 1000,
int offset = 0 )
inline

Get Content Followed.

Parameters
callbackThis will be called when the operation succeeded.
limitThe limit Number of user per page. Default value is 1000.
offsetThe offset number to retrieve. Default value is 0.

◆ GetContentPreview() [1/2]

void AccelByte.Api.UGC.GetContentPreview ( string contentId,
ResultCallback< byte[]> callback )
inline

Get content preview as byte array.

Parameters
contentIdThe id of the Preview's content that will be fetched.
callbackThis will be called when the operation succeeded. The result is byte array

◆ GetContentPreview() [2/2]

void AccelByte.Api.UGC.GetContentPreview ( string contentId,
ResultCallback< UGCPreview > callback )
inline

Get content preview as UGCPreview Model.

Parameters
contentIdThe id of the Preview's content that will be fetched.
callbackThis will be called when the operation succeeded. The result is UGCPreview Model.

◆ GetCreatorStats()

void AccelByte.Api.UGC.GetCreatorStats ( string userId,
ResultCallback< UGCGetCreatorStatsResponse > callback )
inline

Get Creator Stats.

Parameters
userIdThe userId.
callbackThis will be called when the operation succeeded.

◆ GetFollowedCreators()

void AccelByte.Api.UGC.GetFollowedCreators ( ResultCallback< UGCGetListFollowersPagingResponse > callback,
int limit = 1000,
int offset = 0 )
inline

Get Followed Creators.

Parameters
callbackThis will be called when the operation succeeded.
limitThe limit Number of user per page. Default value is 1000.
offsetThe offset number to retrieve. Default value is 0.

◆ GetLikedContents() [1/2]

void AccelByte.Api.UGC.GetLikedContents ( GetAllLikedContentRequest getLikedContentRequest,
ResultCallback< UGCContentsPagingResponse > callback )
inline

Get Liked Contents.

Parameters
getLikedContentRequestDetail information for the content request.
callbackThis will be called when the operation succeeded.

◆ GetLikedContents() [2/2]

void AccelByte.Api.UGC.GetLikedContents ( GetLikedContentRequest getLikedContentRequest,
ResultCallback< UGCContentsPagingResponse > callback )
inline

Get Liked Contents.

Parameters
getLikedContentRequestDetail information for the content request.
callbackThis will be called when the operation succeeded.

◆ GetListContentDownloaderV2()

void AccelByte.Api.UGC.GetListContentDownloaderV2 ( string contentId,
ResultCallback< UGCModelsPaginatedContentDownloaderResponseV2 > callback,
string userId = "",
int limit = 20,
int offset = 0,
UGCContentDownloaderSortBy sortBy = UGCContentDownloaderSortBy::CreatedTimeDesc )
inline

Get list of UGC content downloader.

Parameters
contentIdThe contentId.
callbackThis will be called when the operation succeeded.
userIdThe userId.
limitThe limit Number of user per page. Default value is 20.
offsetThe offset number to retrieve. Default value is 0.
sortBySorting criteria: created time with asc or desc. Default= created time and desc.

◆ GetListContentLikerV2()

void AccelByte.Api.UGC.GetListContentLikerV2 ( string contentId,
ResultCallback< UGCModelsPaginatedContentLikerResponseV2 > callback,
int limit = 20,
int offset = 0,
UGCContentDownloaderSortBy sortBy = UGCContentDownloaderSortBy::CreatedTimeDesc )
inline

Get a list of users who like the content.

Parameters
contentIdThe contentId.
callbackThis will be called when the operation succeeded.
limitThe limit Number of user per page. Default value is 20.
offsetThe offset number to retrieve. Default value is 0.
sortBySorting criteria: created time with asc or desc. Default= created time and desc.

◆ GetListFollowers()

void AccelByte.Api.UGC.GetListFollowers ( ResultCallback< UGCGetListFollowersPagingResponse > callback,
int limit = 1000,
int offset = 0 )
inline

Get List Followers.

Parameters
callbackThis will be called when the operation succeeded.
limitThe limit Number of user per page. Default value is 1000.
offsetThe offset number to retrieve. Default value is 0.

◆ GetListFollowing()

void AccelByte.Api.UGC.GetListFollowing ( string userId,
ResultCallback< UGCGetListFollowersPagingResponse > callback,
int limit = 1000,
int offset = 0 )
inline

Get List Following.

Parameters
userIdThe userId.
callbackThis will be called when the operation succeeded.
limitThe limit Number of user per page. Default value is 1000.
offsetThe offset number to retrieve. Default value is 0.

◆ GetListStagingContent()

void AccelByte.Api.UGC.GetListStagingContent ( string userId,
UGCStagingContentStatus status,
int limit,
int offset,
UGCListStagingContentSortBy sortBy,
ResultCallback< UGCModelsPaginatedStagingContentResponse > callback )
inline

Get user staging content by Id.

Parameters
userId The User id.
status Status of staging content that will be fetched
offsetThe offset of the channel results.
limitThe limit of the channel results.
callbackThis will be called when the operation succeeded.

◆ GetTags()

void AccelByte.Api.UGC.GetTags ( ResultCallback< UGCTagsPagingResponse > callback,
int offset = 0,
int limit = 1000 )
inline

Get all tags.

Parameters
callbackThis will be called when the operation succeeded. The result is UGCTagsPagingResponse Model.
offsetThe offset of the tags results. Default value is 0.
limitThe limit of the tags results. Default value is 1000.

◆ GetTypes()

void AccelByte.Api.UGC.GetTypes ( ResultCallback< UGCTypesPagingResponse > callback,
int offset = 0,
int limit = 1000 )
inline

Get all of player's types and subtypes.

Parameters
callbackThis will be called when the operation succeeded. The result is UGCTypesPagingResponse Model.
offsetThe offset of the types and/or subtypes paging data result. Default value is 0.
limitThe limit of the types and subtypes results. Default value is 1000.

◆ GetUserContents()

void AccelByte.Api.UGC.GetUserContents ( string userId,
ResultCallback< UGCContentsPagingResponse > callback,
int limit = 1000,
int offset = 0 )
inline

Get User Contents.

Parameters
userIdThe userId.
callbackThis will be called when the operation succeeded.
limitThe limit Number of user per page. Default value is 1000.
offsetThe offset number to retrieve. Default value is 0.

◆ GetUserContentsV2()

void AccelByte.Api.UGC.GetUserContentsV2 ( string userId,
ResultCallback< UGCSearchContentsPagingResponseV2 > callback,
int limit = 20,
int offset = 0,
UGCContentDownloaderSortBy sortBy = UGCContentDownloaderSortBy::CreatedTimeDesc )
inline

Get user's generated contents.

Parameters
userIdUser Id
callbackThis will be called when the operation succeeded.
limitThe limit Number of user per page. Default value is 20.
offsetThe offset number to retrieve. Default value is 0.
sortBySorting criteria: created time with asc or desc. Default= created time and desc.

◆ GetUserGroups()

void AccelByte.Api.UGC.GetUserGroups ( string userId,
ResultCallback< UGCGetUserGroupsPagingResponse > callback,
int limit = 1000,
int offset = 0 )
inline

Get User Groups.

Parameters
userIdThe userId.
callbackThis will be called when the operation succeeded.
limitThe limit Number of user per page. Default value is 1000.
offsetThe offset number to retrieve. Default value is 0.

◆ GetUserStagingContentByContentId()

void AccelByte.Api.UGC.GetUserStagingContentByContentId ( string userId,
string contentId,
ResultCallback< UGCModelStagingContent > callback )
inline

Get user staging content by Id.

Parameters
contentId The content id that will be fetched.
callbackThis will be called when the operation succeeded.

◆ ModifyContent() [1/3]

void AccelByte.Api.UGC.ModifyContent ( string channelId,
string contentId,
string name,
string type,
string subtype,
string[] tags,
byte[] preview,
string fileExtension,
ResultCallback< UGCResponse > callback,
string contentType = "application/octet-stream",
bool updateContent = false )
inline

Modify existing content to update some information with byte array Preview paramater.

Parameters
channelIdThe id of the content's channel.
contentIdThe id of the content that will be modified.
nameName of the content
typeType of the content
subtypeSubType of the content.
tagsTags of the content.
previewThe byte array of the content's Preview
fileExtensionFileExtension of the content
callbackThis will be called when the operation succeeded. The result is UGCResponse Model.
contentTypeThe specific type of the content's modified. Default value is "application/octet-stream"
updateContentThis will be used to update the content too or only content information . Default value is false.

◆ ModifyContent() [2/3]

void AccelByte.Api.UGC.ModifyContent ( string channelId,
string contentId,
UGCRequest ModifyRequest,
ResultCallback< UGCResponse > callback,
bool updateContent = false )
inline

Modify existing content to update some information with string preview.

Parameters
channelIdThe id of the content's channel.
contentIdThe id of the content that will be modified.
ModifyRequestDetail information for the content request that will be modified.
callbackThis will be called when the operation succeeded. The result is UGCResponse Model.
updateContentThis will be used to update the content too or only content information . Default value is false.

◆ ModifyContent() [3/3]

void AccelByte.Api.UGC.ModifyContent ( string channelId,
string contentId,
UGCUpdateRequest ModifyRequest,
ResultCallback< UGCResponse > callback )
inline

Modify existing content to update some information with string preview.

Parameters
channelIdThe id of the content's channel.
contentIdThe id of the content that will be modified.
ModifyRequestDetail information for the content request that will be modified.
callbackThis will be called when the operation succeeded. The result is UGCResponse Model.

◆ ModifyContentByShareCode()

void AccelByte.Api.UGC.ModifyContentByShareCode ( string channelId,
string shareCode,
UGCUpdateRequest modifyRequest,
ResultCallback< UGCResponse > callback )
inline

Modify existing content to update some information by share code.

Parameters
channelIdThe id of the content's channel.
shareCodeThe share code of the content that will be fetched.
modifyRequestDetail information for the content request that will be modified.
callbackThis will be called when the operation succeeded. The result is UGCResponse Model.

◆ ModifyContentV2()

void AccelByte.Api.UGC.ModifyContentV2 ( string channelId,
string contentId,
ModifyUGCRequestV2 modifyRequest,
ResultCallback< UGCModelsModifyUGCResponseV2 > callback )
inline

Modify existing content to update some information.

Parameters
channelId The id of the content's channel.
contentIdThe contentId.
modifyRequestDetail information for the content request that will be modified.
callbackThis will be called when the operation succeeded.

◆ ModifyStagingContentByContentId()

void AccelByte.Api.UGC.ModifyStagingContentByContentId ( string userId,
string contentId,
UGCUpdateStagingContentRequest modifyRequest,
ResultCallback< UGCModelStagingContent > callback )
inline

Modify staging content to update some information based on content id.

Parameters
userId The User di.
contentIdThe content Id.
modifyRequestDetail information for the content request that will be modified.
callbackThis will be called when the operation succeeded.

◆ SearchContent()

void AccelByte.Api.UGC.SearchContent ( SearchContentRequest searchContentRequest,
ResultCallback< UGCSearchContentsPagingResponse > callback )
inline

Search Content player's channel based on the its channel id.

Parameters
searchContentRequest Detail information for the search content request..
callbackThis will be called when the operation succeeded.

◆ SearchContentsSpecificToChannelV2()

void AccelByte.Api.UGC.SearchContentsSpecificToChannelV2 ( string channelId,
ResultCallback< UGCSearchContentsPagingResponseV2 > callback,
int limit = 20,
int offset = 0,
UGCContentDownloaderSortBy sortBy = UGCContentDownloaderSortBy::CreatedTimeDesc )
inline

Search contents specific to a channel.

Parameters
channelIdChannel Id.
callbackThis will be called when the operation succeeded.
limitThe limit Number of user per page. Default value is 20.
offsetThe offset number to retrieve. Default value is 0.
sortBySorting criteria: created time with asc or desc. Default= created time and desc.

◆ SearchContentsSpesificToChannel()

void AccelByte.Api.UGC.SearchContentsSpesificToChannel ( string channelId,
SearchContentRequest searchContentRequest,
ResultCallback< UGCSearchContentsPagingResponse > callback )
inline

Search Content player's channel based on the its channel id.

Parameters
channelId The id of the content's channel.
searchContentRequest Detail information for the content request..
callbackThis will be called when the operation succeeded.

◆ SearchContentsV2()

void AccelByte.Api.UGC.SearchContentsV2 ( UGCGetContentFilterRequestV2 filterRequest,
ResultCallback< UGCSearchContentsPagingResponseV2 > callback,
int limit = 20,
int offset = 0,
UGCContentSortBy sortBy = UGCContentSortBy::CreatedTimeDesc )
inline

Get all contents in current namespace.

Parameters
filterRequestTo filter the returned UGC contets.
callbackThis will be called when the operation succeeded.
limitThe limit Number of user per page. Default value is 20.
offsetThe offset number to retrieve. Default value is 0.
sortBySorting criteria: name, download, like, created time with asc or desc. Default= created time and asc.

◆ UpdateChannel()

void AccelByte.Api.UGC.UpdateChannel ( string channelId,
string name,
ResultCallback< UGCChannelResponse > callback )
inline

Update channel.

Parameters
channelIdThe channelId value.
nameThe new channel's name value.
callbackThis will be called when the operation succeeded.

◆ UpdateContentFileLocationV2()

void AccelByte.Api.UGC.UpdateContentFileLocationV2 ( string channelId,
string contentId,
string fileExtension,
string s3Key,
ResultCallback< UpdateContentFileLocationResponseV2 > callback )
inline

Update Content File Location in S3.

Parameters
channelIdThe id of the content's channel.
contentIdThe id of the content.
fileExtensionFileExtension of the content.
s3KeyDetail information about the file location in S3.
callbackThis will be called when the operation succeeded.

◆ UpdateContentScreenshotV2()

void AccelByte.Api.UGC.UpdateContentScreenshotV2 ( string contentId,
ScreenshotsUpdatesV2 updateSreenshotsRequest,
ResultCallback< ScreenshotsUpdatesV2 > callback )
inline

Update screenshots for content.

Parameters
contentIdContent Id.
userIdThe userId.
screenshotsRequestSupported file extensions: pjp, jpg, jpeg, jfif, bmp, png. Maximum description length: 1024.
callbackThis will be called when the operation succeeded.</param

◆ UpdateFollowStatus() [1/2]

void AccelByte.Api.UGC.UpdateFollowStatus ( bool followStatus,
ResultCallback< UGCUpdateFollowStatusToUserResponse > callback )
inline

Update follow/unfollow status to user.

Parameters
followStatusThe new follow status value.
callbackThis will be called when the operation succeeded.

◆ UpdateFollowStatus() [2/2]

void AccelByte.Api.UGC.UpdateFollowStatus ( bool followStatus,
string userId,
ResultCallback< UGCUpdateFollowStatusToUserResponse > callback )
inline

Update follow/unfollow status to user.

Parameters
followStatusThe new follow status value.
userIdThe userId.
callbackThis will be called when the operation succeeded.

◆ UpdateLikeStatusToContent()

void AccelByte.Api.UGC.UpdateLikeStatusToContent ( string contentId,
bool likeStatus,
ResultCallback< UGCUpdateLikeStatusToContentResponse > callback )
inline

Update like/unlike status to a content.

Parameters
contentId The content id that will be updated.
likeStatus New like Status value.
callbackThis will be called when the operation succeeded.

◆ UpdateLikeStatusToContentV2()

void AccelByte.Api.UGC.UpdateLikeStatusToContentV2 ( string contentId,
bool likeStatus,
ResultCallback< UGCUpdateLikeStatusToContentResponse > callback )
inline

Update like/unlike status to a content.

Parameters
contentId The content id that will be updated.
likeStatus New like Status value.
callbackThis will be called when the operation succeeded.

◆ UploadContentScreenshotV2()

void AccelByte.Api.UGC.UploadContentScreenshotV2 ( string contentId,
ScreenshotsRequest screenshotsRequest,
ResultCallback< ScreenshotsResponseV2 > callback )
inline

Upload screenshots for content.

Parameters
contentIdContent Id.
userIdThe userId.
screenshotsRequestSupported file extensions: pjp, jpg, jpeg, jfif, bmp, png. Maximum description length: 1024.
callbackThis will be called when the operation succeeded.</param

◆ UploadScreenshotContent()

void AccelByte.Api.UGC.UploadScreenshotContent ( string contentId,
string userId,
ScreenshotsRequest screenshotsRequest,
ResultCallback< ScreenshotsResponse > callback )
inline

Get User Contents.

Parameters
contentIdThe contentId.
userIdThe userId.
screenshotsRequestSupported file extensions: pjp, jpg, jpeg, jfif, bmp, png. Maximum description length: 1024..
callbackThis will be called when the operation succeeded.