提供: Bright Pattern Documentation
移動先: 案内、 検索
• English

getScreenRecordingState

スクリーン録画の現在の状態を返します。

リクエスト

構文

getScreenRecordingState(): Promise<OperationResult<ScreenRecordingState>>
type ScreenRecordingState = {
   allowed: boolean
   active: boolean
   muted: boolean

}

パラメータ (なし)

リクエスト例

   getScreenRecordingStateButton.onclick = () => {
       adApi.getScreenRecordingState()
   }

戻り値

オブジェクト オブジェクトの値 データ型 オプションですか?

(はい/いいえ)

値の説明
ScreenRecordingState
allowed ブール値 N 現在のユーザーに対してスクリーン録画が許可されている場合は true を返し、許可されていない場合は false を返します
active ブール値 N 現在、スクリーン録画が有効な場合は true を返し、有効でない場合は false を返します
muted ブール値 N スクリーン録画が現在ミュートされている場合は true を返し、ミュートされていない場合は false を返します
< 前へ | 次へ >