tencent cloud

Smart Media Hosting

Retrieve Album Cover

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-01-07 11:03:10

Introduction

This document provides an overview of APIs and SDK example code for viewing directories or albums.
API
Operation Description
Get album cover

Get Album Cover URL

Feature Overview

To obtain the album cover link.

Example Code

try {
val albumCoverUrl: String? = smh.getAlbumCoverUrl(
//Album name. This parameter must be specified for album-based media libraries and cannot be specified for non-album media libraries.
albumName = "albumName"
)
} catch (e: Exception) {
e.printStackTrace()
}


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백