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

switchActiveInteraction

IDに基づいてアクティブなインタラクションを変更します。

リクエスト

構文

switchActiveInteraction(interactionId: string): Promise<OperationResult<null>>


パラメータ

パラメータ パラメータの値 データ型 オプション/必須 説明
interactionId 文字列 必須 アクティブとして設定したいインタラクションのID

リクエスト例

   switchActiveInteractionButton.onclick = () => {
       const itemId = activeInteractionIdInput.value
       adApi.switchActiveInteraction(itemId)
   }

戻り値

null

< 前へ | 次へ >