tencent cloud

Smart Media Hosting

Check File Status

PDF
フォーカスモード
フォントサイズ
最終更新日: 2026-01-07 11:03:08

Introduction

This document provides an API overview about checking file state and SDK sample code.
API
Operation Description
Check file status

Checking File Status

Feature Overview

Check file status.

Example Code

//destination filename
val targetName = "targetName"
//target folder
val targetDir = Directory()

try {
val headFileContent: HeadFileContent = smh.headFile(
name = targetName,
dir = targetDir
)
} catch (e: Exception) {
e.printStackTrace()
}


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック