From e9f1d0f91f8948d1986b4ac3d40f259dc4529e57 Mon Sep 17 00:00:00 2001 From: Artsiom Trubchyk Date: Tue, 30 Jan 2024 18:57:39 +0300 Subject: [PATCH] Add script api --- playable_ad/api/mraid.script_api | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 playable_ad/api/mraid.script_api diff --git a/playable_ad/api/mraid.script_api b/playable_ad/api/mraid.script_api new file mode 100644 index 0000000..325fc6c --- /dev/null +++ b/playable_ad/api/mraid.script_api @@ -0,0 +1,18 @@ +- name: mraid + type: table + members: + + - name: set_listener + type: function + parameters: + - name: callback + type: function + + - name: is_viewable + type: function + returns: + - name: result + type: boolean + + - name: EVENT_VIEWABLE_CHANGE + type: string