UNPKG

aia-kit

Version:

Read, Parse, Edit, Write, Analyze AIA/AIX/AIS files.

1,290 lines 1.62 MB
[ { "type": "com.google.appinventor.components.runtime.AccelerometerSensor", "name": "AccelerometerSensor", "external": "false", "version": "4", "dateBuilt": "2020-05-14T22:54:53+0530", "categoryString": "SENSORS", "helpString": "Non-visible component that can detect shaking and measure acceleration approximately in three dimensions using SI units (m\/s<sup>2<\/sup>). The components are: <ul>\n<li> <strong>xAccel<\/strong>: 0 when the phone is at rest on a flat surface, positive when the phone is tilted to the right (i.e., its left side is raised), and negative when the phone is tilted to the left (i.e., its right size is raised).<\/li>\n <li> <strong>yAccel<\/strong>: 0 when the phone is at rest on a flat surface, positive when its bottom is raised, and negative when its top is raised. <\/li>\n <li> <strong>zAccel<\/strong>: Equal to -9.8 (earth's gravity in meters per second per second when the device is at rest parallel to the ground with the display facing up, 0 when perpendicular to the ground, and +9.8 when facing down. The value can also be affected by accelerating it with or against gravity. <\/li><\/ul>", "helpUrl": "https:\/\/docs.kodular.io\/components\/sensors\/accelerometer\/", "showOnPalette": "true", "nonVisible": "true", "iconName": "images/accelerometersensor.png", "androidMinSdk": 19, "properties": [ { "name": "Enabled", "editorType": "boolean", "defaultValue": "True", "propertyType": "common", "editorArgs": [] }, { "name": "LegacyMode", "editorType": "boolean", "defaultValue": "False", "propertyType": "common", "editorArgs": [] }, { "name": "MinimumInterval", "editorType": "non_negative_integer", "defaultValue": "400", "propertyType": "common", "editorArgs": [] }, { "name": "Sensitivity", "editorType": "accelerometer_sensitivity", "defaultValue": "2", "propertyType": "common", "editorArgs": [] } ], "blockProperties": [ { "name": "Available", "description": "Available property getter method (read-only property).", "type": "boolean", "rw": "read-only", "deprecated": "false" }, { "name": "Enabled", "description": "If true, the sensor will generate events. Otherwise, no events\n are generated even if the device is accelerated or shaken.", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "LegacyMode", "description": "Prior to the release that added this property the AccelerometerSensor component passed through sensor values directly as received from the Android system. However these values do not compensate for tablets that default to Landscape mode, requiring the MIT App Inventor programmer to compensate. However compensating would result in incorrect results in Portrait mode devices such as phones. We now detect Landscape mode tablets and perform the compensation. However if your project is already compensating for the change, you will now get incorrect results. Although our preferred solution is for you to update your project, you can also just set this property to \u201ctrue\u201d and our compensation code will be deactivated. Note: We recommend that you update your project as we may remove this property in a future release.", "type": "boolean", "rw": "invisible", "deprecated": "false" }, { "name": "MinimumInterval", "description": "The minimum interval, in milliseconds, between phone shakes", "type": "number", "rw": "read-write", "deprecated": "false" }, { "name": "Sensitivity", "description": "A number that encodes how sensitive the accelerometer is. The choices are: 1 = weak, 2 = moderate, 3 = strong.", "type": "number", "rw": "read-write", "deprecated": "false" }, { "name": "XAccel", "description": "Returns the acceleration in the X-dimension in SI units (m\/s^2).\n The sensor must be enabled to return meaningful values.", "type": "number", "rw": "read-only", "deprecated": "false" }, { "name": "YAccel", "description": "Returns the acceleration in the Y-dimension in SI units (m\/s^2).\n The sensor must be enabled to return meaningful values.", "type": "number", "rw": "read-only", "deprecated": "false" }, { "name": "ZAccel", "description": "Returns the acceleration in the Z-dimension in SI units (m\/s^2).\n The sensor must be enabled to return meaningful values.", "type": "number", "rw": "read-only", "deprecated": "false" } ], "events": [ { "name": "AccelerationChanged", "description": "Indicates the acceleration changed in the X, Y, and\/or Z dimensions.", "deprecated": "false", "params": [ { "name": "xAccel", "type": "number" }, { "name": "yAccel", "type": "number" }, { "name": "zAccel", "type": "number" } ] }, { "name": "Shaking", "description": "Indicates the device started being shaken or continues to be shaken.", "deprecated": "false", "params": [] } ], "methods": [] }, { "type": "com.google.appinventor.components.runtime.ActivityStarter", "name": "ActivityStarter", "external": "false", "version": "6", "dateBuilt": "2020-05-14T22:54:53+0530", "categoryString": "CONNECTIVITY", "helpString": "A component that can launch an activity using the <code>StartActivity<\/code> method.<p>Activities that can be launched include: <ul> \n<li> starting other App Inventor for Android apps <\/li> \n<li> starting the camera application <\/li> \n<li> performing web search <\/li> \n<li> opening a browser to a specified web page<\/li> \n<li> opening the map application to a specified location<\/li><\/ul> \nYou can also launch activities that return text data. See the documentation on using the Activity Starter for examples.<\/p>", "helpUrl": "", "showOnPalette": "true", "nonVisible": "true", "iconName": "images/activityStarter.png", "androidMinSdk": 19, "properties": [ { "name": "Action", "editorType": "string", "defaultValue": "", "propertyType": "common", "editorArgs": [] }, { "name": "ActivityClass", "editorType": "string", "defaultValue": "", "propertyType": "common", "editorArgs": [] }, { "name": "ActivityPackage", "editorType": "string", "defaultValue": "", "propertyType": "common", "editorArgs": [] }, { "name": "DataType", "editorType": "string", "defaultValue": "", "propertyType": "common", "editorArgs": [] }, { "name": "DataUri", "editorType": "string", "defaultValue": "", "propertyType": "common", "editorArgs": [] }, { "name": "ExtraKey", "editorType": "string", "defaultValue": "", "propertyType": "common", "editorArgs": [] }, { "name": "ExtraValue", "editorType": "string", "defaultValue": "", "propertyType": "common", "editorArgs": [] }, { "name": "ResultName", "editorType": "string", "defaultValue": "", "propertyType": "common", "editorArgs": [] } ], "blockProperties": [ { "name": "Action", "description": "Returns the action that will be used to start the activity.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "ActivityClass", "description": "Returns the class part of the specific component that will be started.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "ActivityPackage", "description": "Returns the package part of the specific component that will be started.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "DataType", "description": "Returns the MIME type to pass to the activity.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "DataUri", "description": "Returns the data URI that will be used to start the activity.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "ExtraKey", "description": "Returns the extra key that will be passed to the activity.\nDEPRECATED: New code should use Extras property instead.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "ExtraValue", "description": "Returns the extra value that will be passed to the activity.\nDEPRECATED: New code should use Extras property instead.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "Extras", "description": "Specifies the list of key-value pairs that will be passed as extra data to the activity.", "type": "list", "rw": "read-write", "deprecated": "false" }, { "name": "Result", "description": "Returns the result from the activity.", "type": "text", "rw": "read-only", "deprecated": "false" }, { "name": "ResultName", "description": "Returns the name that will be used to retrieve a result from the activity.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "ResultType", "description": "Returns the MIME type from the activity.", "type": "text", "rw": "read-only", "deprecated": "false" }, { "name": "ResultUri", "description": "Returns the URI from the activity.", "type": "text", "rw": "read-only", "deprecated": "false" } ], "events": [ { "name": "ActivityCanceled", "description": "Event raised if this ActivityStarter returns because the activity was canceled.", "deprecated": "false", "params": [] }, { "name": "ActivityError", "description": "The ActivityError event is no longer used. Please use the Screen.ErrorOccurred event instead.", "deprecated": "false", "params": [ { "name": "message", "type": "text" } ] }, { "name": "AfterActivity", "description": "Event raised after this ActivityStarter returns.", "deprecated": "false", "params": [ { "name": "result", "type": "text" } ] } ], "methods": [ { "name": "ResolveActivity", "description": "Returns the name of the activity that corresponds to this ActivityStarter, or an empty string if no corresponding activity can be found.", "deprecated": "false", "params": [], "returnType": "text" }, { "name": "StartActivity", "description": "Start the activity corresponding to this ActivityStarter.", "deprecated": "false", "params": [] } ] }, { "type": "com.google.appinventor.components.runtime.AdAmazon", "name": "AdAmazon", "external": "false", "version": "1", "dateBuilt": "2020-05-14T22:54:53+0530", "categoryString": "ADVERTISING", "helpString": "AdAmazon component allows you to monetize your app. You must have a valid publisher id that can be obtained from https:\/\/developer.amazon.com. If your publisher id is invalid, the AdAmazon banner will not display on the emulator or the device.", "helpUrl": "https:\/\/docs.kodular.io\/components\/monetization\/amazon-banner\/", "showOnPalette": "true", "nonVisible": "false", "iconName": "images/amazon.png", "androidMinSdk": 19, "properties": [ { "name": "PublisherId", "editorType": "string", "defaultValue": "AmazonPublisherId", "propertyType": "common", "editorArgs": [] }, { "name": "RefreshAd", "editorType": "boolean", "defaultValue": "True", "propertyType": "common", "editorArgs": [] }, { "name": "TestMode", "editorType": "boolean", "defaultValue": "True", "propertyType": "common", "editorArgs": [] }, { "name": "Visible", "editorType": "visibility", "defaultValue": "True", "propertyType": "common", "editorArgs": [] } ], "blockProperties": [ { "name": "Column", "description": "Column property getter method.", "type": "number", "rw": "invisible", "deprecated": "false" }, { "name": "PublisherId", "description": "Sets the Amazon Ad Publisher Id and refreshes the ad.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "RefreshAd", "description": "Refreshes the ad.", "type": "boolean", "rw": "write-only", "deprecated": "false" }, { "name": "Row", "description": "Row property getter method.", "type": "number", "rw": "invisible", "deprecated": "false" }, { "name": "TestMode", "description": "Turns the debugging on \/ off based on enabled parameter.", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "Visible", "description": "Returns true iff the component is visible.", "type": "boolean", "rw": "read-write", "deprecated": "false" } ], "events": [ { "name": "AdDismissed", "description": "Event to detect that a ad was dismissed.", "deprecated": "false", "params": [] }, { "name": "AdExpanded", "description": "Event to detect that a ad was expanded.", "deprecated": "false", "params": [] }, { "name": "AdFailedToLoad", "description": "Event to detect that the try to load a ad was not successful.", "deprecated": "false", "params": [ { "name": "errCode", "type": "text" }, { "name": "errorMessage", "type": "text" } ] }, { "name": "AdLoaded", "description": "Event to detect that a ad was loaded.", "deprecated": "false", "params": [] } ], "methods": [] }, { "type": "com.google.appinventor.components.runtime.AdAmazonInterstitial", "name": "AdAmazonInterstitial", "external": "false", "version": "2", "dateBuilt": "2020-05-14T22:54:53+0530", "categoryString": "ADVERTISING", "helpString": "An interstitial ad is a full-page ad. AdAmazonInterstitial component allows you to monetize your app. You must have a valid Amazon Application Key. If your application key is invalid, the ad will not display on the emulator or the device. Warning: Make sure you're in test mode during development to avoid being disabled for clicking your own ads. ", "helpUrl": "https:\/\/docs.kodular.io\/components\/monetization\/amazon-interstitial\/", "showOnPalette": "true", "nonVisible": "true", "iconName": "images/amazon.png", "androidMinSdk": 19, "properties": [ { "name": "ApplicationKey", "editorType": "string", "defaultValue": "ApplicationKey", "propertyType": "common", "editorArgs": [] }, { "name": "CommissionInterstitialAdsNetwork", "editorType": "commission_interstitial_ads_network", "defaultValue": "unity", "propertyType": "common", "editorArgs": [] }, { "name": "EnableDebug", "editorType": "boolean", "defaultValue": "True", "propertyType": "common", "editorArgs": [] }, { "name": "EnableGeoLocationTargeting", "editorType": "boolean", "defaultValue": "True", "propertyType": "common", "editorArgs": [] }, { "name": "EnableTesting", "editorType": "boolean", "defaultValue": "True", "propertyType": "common", "editorArgs": [] }, { "name": "TargetAge", "editorType": "integer", "defaultValue": "0", "propertyType": "common", "editorArgs": [] } ], "blockProperties": [ { "name": "ApplicationKey", "description": "Enter Application Key. Go to Amazon Developer Portal and sign-in for your ApplicationKey", "type": "text", "rw": "invisible", "deprecated": "false" }, { "name": "CommissionInterstitialAdsNetwork", "description": "Sets the ad network used to take the commission.", "type": "text", "rw": "write-only", "deprecated": "false" }, { "name": "EnableDebug", "description": "", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "EnableGeoLocationTargeting", "description": "If set to true, uses latitude and longitude coordinates as part of an ad request", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "EnableTesting", "description": "For debugging \/ development purposes flag all ad requests as tests, but set to false for production builds", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "TargetAge", "description": "You can pass age information to the Amazon Mobile Ad Network to target specific age groups. If set as 0, Age Targetting will not be used", "type": "number", "rw": "read-write", "deprecated": "false" } ], "events": [ { "name": "AdClosed", "description": "Triggered when the close button of the interstitial ad is clicked. It's important to remember only one interstitial ad can be shown at a time. The previous ad has to be dismissed before a new ad can be shown.", "deprecated": "false", "params": [] }, { "name": "AdCollapsed", "description": "After a user clicks on the close ad button on an expanded ad, this callback is called immediately after collapsing the ad. This callback can be used to do things like resume your app or restart audio.", "deprecated": "false", "params": [] }, { "name": "AdExpanded", "description": "This callback is called each time an ad is successfully loaded. You can use this to log metrics on ad views and assist with initial integration. Detailed information about the ad that loaded can be obtained from the AdProperties object.", "deprecated": "false", "params": [] }, { "name": "AdFailedToLoad", "description": "Whenever an ad fails to be retrieved, the event is called, returning the error message.", "deprecated": "false", "params": [ { "name": "error", "type": "text" }, { "name": "message", "type": "text" } ] }, { "name": "AdFailedToShow", "description": "Called when an an attempt was made to display the ad, but the ad was not ready to display", "deprecated": "false", "params": [ { "name": "message", "type": "text" } ] }, { "name": "AdLoaded", "description": "Triggered each time an ad is successfully loaded. But you don't have to display the ad right after it's loaded. For example, set a flag to true and then at a transition point, if flag=true, then display the ad.", "deprecated": "false", "params": [] } ], "methods": [ { "name": "LoadAd", "description": "Loads a new ad.", "deprecated": "false", "params": [] }, { "name": "ShowInterstitialAd", "description": "It will show the Interstitial Ad", "deprecated": "false", "params": [] } ] }, { "type": "com.google.appinventor.components.runtime.AdMobInterstitial", "name": "AdMobInterstitial", "external": "false", "version": "4", "dateBuilt": "2020-05-14T22:54:53+0530", "categoryString": "ADVERTISING", "helpString": "An interstitial ad is a full-page ad. AdMobInterstitial component allows you to monetize your app. You must have a valid AdMob account and AdUnitId that can be obtained from http:\/\/www.google.com\/AdMob . If your id is invalid, the AdMobInterstitial will not display on the emulator or the device. Warning: Make sure you're in test mode during development to avoid being disabled for clicking your own ads. ", "helpUrl": "https:\/\/docs.kodular.io\/components\/monetization\/admob-interstitial\/", "showOnPalette": "true", "nonVisible": "true", "iconName": "images/admob.png", "androidMinSdk": 19, "properties": [ { "name": "AdEnabled", "editorType": "boolean", "defaultValue": "True", "propertyType": "common", "editorArgs": [] }, { "name": "AdUnitID", "editorType": "string", "defaultValue": "ca-app-pub-3940256099942544/1033173712", "propertyType": "common", "editorArgs": [] }, { "name": "CommissionInterstitialAdsNetwork", "editorType": "commission_interstitial_ads_network", "defaultValue": "unity", "propertyType": "common", "editorArgs": [] }, { "name": "ConsentDevelopmentMode", "editorType": "boolean", "defaultValue": "False", "propertyType": "common", "editorArgs": [] }, { "name": "ConsentMessage", "editorType": "string", "defaultValue": "Can we continue to use your data to tailor ads for you?", "propertyType": "common", "editorArgs": [] }, { "name": "ConsentTitle", "editorType": "string", "defaultValue": "Data Protection", "propertyType": "common", "editorArgs": [] }, { "name": "TargetAge", "editorType": "non_negative_integer", "defaultValue": "0", "propertyType": "common", "editorArgs": [] }, { "name": "TargetForChildren", "editorType": "boolean", "defaultValue": "False", "propertyType": "common", "editorArgs": [] }, { "name": "TargetGender", "editorType": "gender_options", "defaultValue": "ALL", "propertyType": "common", "editorArgs": [] }, { "name": "TestMode", "editorType": "boolean", "defaultValue": "False", "propertyType": "common", "editorArgs": [] } ], "blockProperties": [ { "name": "AdEnabled", "description": "This property must be set to true to receive ads.", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "AdUnitID", "description": "", "type": "text", "rw": "invisible", "deprecated": "false" }, { "name": "CommissionInterstitialAdsNetwork", "description": "Sets the ad network used to take the commission.", "type": "text", "rw": "write-only", "deprecated": "false" }, { "name": "ConsentDevelopmentMode", "description": "If enabled you will see the consent dialog no matter if you are located in Europe or not. Please use this option only in development. If this setting is enabled ALL taken consents will not be saved.", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "ConsentMessage", "description": "The message for the consent dialog.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "ConsentTitle", "description": "The title for the consent dialog.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "PersonalizedResult", "description": "Returns the current personalized consent. If true user has consent to personalized ads.", "type": "boolean", "rw": "read-only", "deprecated": "false" }, { "name": "TargetAge", "description": "Leave 0 for targeting ALL ages", "type": "number", "rw": "read-write", "deprecated": "false" }, { "name": "TargetForChildren", "description": "Indicate whether you want Google to treat your content as child-directed when you make an ad request. Info here: https:\/\/developers.google.com\/mobile-ads-sdk\/docs\/admob\/android\/targeting#child-directed_setting", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "TargetGender", "description": "", "type": "text", "rw": "write-only", "deprecated": "false" }, { "name": "TestMode", "description": "If you want to test the component then that this property to true. Then you will receive test ads.", "type": "boolean", "rw": "invisible", "deprecated": "false" } ], "events": [ { "name": "AdClosed", "description": "Called when an ad was closed.", "deprecated": "false", "params": [] }, { "name": "AdFailedToLoad", "description": "Called when an ad request failed to load. The message will display the error code and error message.", "deprecated": "false", "params": [ { "name": "errorCode", "type": "number" }, { "name": "errorMessage", "type": "text" } ] }, { "name": "AdFailedToShow", "description": "Called when an an attempt was made to display the ad, but the ad was not ready to display.", "deprecated": "false", "params": [ { "name": "message", "type": "text" } ] }, { "name": "AdLeftApplication", "description": "Called when an ad leaves the application (e.g., to go to the browser).", "deprecated": "false", "params": [] }, { "name": "AdLoaded", "description": "Called when an ad request was loaded.", "deprecated": "false", "params": [] }, { "name": "AdOpened", "description": "Called when an ad was opened.", "deprecated": "false", "params": [] }, { "name": "OnConsentChanged", "description": "Event triggered when the consent was changed.", "deprecated": "false", "params": [ { "name": "personalized", "type": "boolean" } ] } ], "methods": [ { "name": "LoadAd", "description": "Load a new AdMob Interstitial ad.", "deprecated": "false", "params": [] }, { "name": "RevokeConsent", "description": "Deletes the user's consent. Useful if you want to test the consent dialog in development.", "deprecated": "false", "params": [] }, { "name": "ShowInterstitialAd", "description": "It will show the Interstitial Ad", "deprecated": "false", "params": [] } ] }, { "type": "com.google.appinventor.components.runtime.AdmobBanner", "name": "AdmobBanner", "external": "false", "version": "3", "dateBuilt": "2020-05-14T22:54:53+0530", "categoryString": "ADVERTISING", "helpString": "AdMob Banner component", "helpUrl": "", "showOnPalette": "true", "nonVisible": "false", "iconName": "images/admob.png", "androidMinSdk": 19, "properties": [ { "name": "AdEnabled", "editorType": "boolean", "defaultValue": "True", "propertyType": "common", "editorArgs": [] }, { "name": "AdUnitId", "editorType": "string", "defaultValue": "ca-app-pub-3940256099942544/6300978111", "propertyType": "common", "editorArgs": [] }, { "name": "ConsentDevelopmentMode", "editorType": "boolean", "defaultValue": "False", "propertyType": "common", "editorArgs": [] }, { "name": "ConsentMessage", "editorType": "string", "defaultValue": "Can we continue to use your data to tailor ads for you?", "propertyType": "common", "editorArgs": [] }, { "name": "ConsentTitle", "editorType": "string", "defaultValue": "Data Protection", "propertyType": "common", "editorArgs": [] }, { "name": "TestMode", "editorType": "boolean", "defaultValue": "False", "propertyType": "common", "editorArgs": [] }, { "name": "Visible", "editorType": "visibility", "defaultValue": "True", "propertyType": "common", "editorArgs": [] } ], "blockProperties": [ { "name": "AdEnabled", "description": "This property must be set to true to receive ads.", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "AdUnitId", "description": "Set Ad Unit ID", "type": "text", "rw": "invisible", "deprecated": "false" }, { "name": "Column", "description": "Column property getter method.", "type": "number", "rw": "invisible", "deprecated": "false" }, { "name": "ConsentDevelopmentMode", "description": "If enabled you will see the consent dialog no matter if you are located in Europe or not. Please use this option only in development. If this setting is enabled ALL taken consents will not be saved.", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "ConsentMessage", "description": "The message for the consent dialog.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "ConsentTitle", "description": "The title for the consent dialog.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "PersonalizedResult", "description": "Returns the current personalized consent. If true user has consent to personalized ads.", "type": "boolean", "rw": "read-only", "deprecated": "false" }, { "name": "Row", "description": "Row property getter method.", "type": "number", "rw": "invisible", "deprecated": "false" }, { "name": "TestMode", "description": "If you want to test the component then that this property to true. Then you will receive test ads.", "type": "boolean", "rw": "invisible", "deprecated": "false" }, { "name": "Visible", "description": "Returns true iff the component is visible.", "type": "boolean", "rw": "read-write", "deprecated": "false" } ], "events": [ { "name": "AdClosed", "description": "Called when an ad was closed.", "deprecated": "false", "params": [] }, { "name": "AdFailedToLoad", "description": "Called when an ad request failed to load. The message will display the error code and error message.", "deprecated": "false", "params": [ { "name": "errorCode", "type": "number" }, { "name": "errorMessage", "type": "text" } ] }, { "name": "AdLoaded", "description": "Called when an ad request was loaded.", "deprecated": "false", "params": [] }, { "name": "AdOpened", "description": "Called when an ad was opened.", "deprecated": "false", "params": [] }, { "name": "OnConsentChanged", "description": "Event triggered when the consent was changed.", "deprecated": "false", "params": [ { "name": "personalized", "type": "boolean" } ] } ], "methods": [ { "name": "LoadAd", "description": "Load a new AdMob Banner ad.", "deprecated": "false", "params": [] }, { "name": "RevokeConsent", "description": "Deletes the user's consent. Useful if you want to test the consent dialog in development.", "deprecated": "false", "params": [] } ] }, { "type": "com.google.appinventor.components.runtime.AdmobRewardedVideo", "name": "AdmobRewardedVideo", "external": "false", "version": "3", "dateBuilt": "2020-05-14T22:54:53+0530", "categoryString": "ADVERTISING", "helpString": "add description in OdeMessage ", "helpUrl": "", "showOnPalette": "true", "nonVisible": "true", "iconName": "images/admob.png", "androidMinSdk": 19, "properties": [ { "name": "AdEnabled", "editorType": "boolean", "defaultValue": "True", "propertyType": "common", "editorArgs": [] }, { "name": "AdUnitId", "editorType": "string", "defaultValue": "ca-app-pub-3940256099942544/5224354917", "propertyType": "common", "editorArgs": [] }, { "name": "ConsentDevelopmentMode", "editorType": "boolean", "defaultValue": "False", "propertyType": "common", "editorArgs": [] }, { "name": "ConsentMessage", "editorType": "string", "defaultValue": "Can we continue to use your data to tailor ads for you?", "propertyType": "common", "editorArgs": [] }, { "name": "ConsentTitle", "editorType": "string", "defaultValue": "Data Protection", "propertyType": "common", "editorArgs": [] }, { "name": "TestMode", "editorType": "boolean", "defaultValue": "False", "propertyType": "common", "editorArgs": [] } ], "blockProperties": [ { "name": "AdEnabled", "description": "This property must be set to true to receive ads.", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "AdUnitId", "description": "", "type": "text", "rw": "invisible", "deprecated": "false" }, { "name": "ConsentDevelopmentMode", "description": "If enabled you will see the consent dialog no matter if you are located in Europe or not. Please use this option only in development. If this setting is enabled ALL taken consents will not be saved.", "type": "boolean", "rw": "read-write", "deprecated": "false" }, { "name": "ConsentMessage", "description": "The message for the consent dialog.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "ConsentTitle", "description": "The title for the consent dialog.", "type": "text", "rw": "read-write", "deprecated": "false" }, { "name": "PersonalizedResult", "description": "Returns the current personalized consent. If true user has consent to personalized ads.", "type": "boolean", "rw": "read-only", "deprecated": "false" }, { "name": "TestMode", "description": "If you want to test the component, that this property to true. After it you will receive test ads.", "type": "boolean", "rw": "invisible", "deprecated": "false" } ], "events": [ { "name": "AdClosed", "description": "Called when an ad was closed.", "deprecated": "false", "params": [] }, { "name": "AdFailedToLoad", "description": "Called when an ad request failed to load. The message will display the error code and error message.", "deprecated": "false", "params": [ { "name": "errorCode", "type": "number" }, { "name": "errorMessage", "type": "text" } ] }, { "name": "AdLeftApplication", "description": "Called when an ad leaves the application (e.g., to go to the browser).", "deprecated": "false", "params": [] }, { "name": "AdLoaded", "description": "Called when an ad request was loaded.", "deprecated": "false", "params": [] }, { "name": "AdOpened", "description": "Called when an ad was opened.", "deprecated": "false", "params": [] }, { "name": "AdVideoCompleted", "description": "Called when an video ad was completed.", "deprecated": "false", "params": [] }, { "name": "AdVideoStarted", "description": "Called when an video ad started to show content.", "deprecated": "false", "params": [] }, { "name": "OnConsentChanged", "description": "Event triggered when the consent was changed.", "deprecated": "false", "params": [ { "name": "personalized", "type": "boolean" } ] }, { "name": "Rewarded", "description": "User watched video and should be rewarded.", "deprecated": "false", "params": [ { "name": "type", "type": "text" }, { "name": "amount", "type": "number" } ] } ], "methods": [ { "name": "LoadAd", "description": "Load a new AdMob Rewarded Video ad.", "deprecated": "false", "params": [] }, { "name": "RevokeConsent", "description": "Deletes the user's consent. Useful if you want to test the consent dialog in development.", "deprecated": "false", "params": [] }, { "name": "ShowAd", "description": "It will show the Video", "deprecated": "false", "params": [] } ] }, { "type": "com.google.appinventor.components.runtime.Audio", "name": "Audio", "external": "false", "version": "3", "dateBuilt": "2020-05-14T22:54:53+0530", "categoryString": "UTILITIES", "helpString": "Component for Audio", "helpUrl": "", "showOnPalette": "true", "no