Updated APIv5 DataExtension API (markdown)

Risto Lahtela 2019-07-25 10:54:25 +03:00
parent 88b37d3c70
commit 2f95021907

@ -39,11 +39,11 @@ There is a lot of functionality in the API so it might feel overwhelming at firs
<details><summary>3. Create a basic DataExtension</summary> <details><summary>3. Create a basic DataExtension</summary>
3.1. Create a new class that implements `DataExtension` interface. - Create a new class that implements `DataExtension` interface.
3.2. Add a `@PluginInfo` annotation that tells Plan information about your plugin. [PluginInfo Annotation](https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/APIv5---DataExtension-API#%E2%84%B9%EF%B8%8F-plugininfo-annotation) - Add a `@PluginInfo` annotation that tells Plan information about your plugin. [PluginInfo Annotation](https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/APIv5---DataExtension-API#%E2%84%B9%EF%B8%8F-plugininfo-annotation)
3.3. Add a constructor to access everything you need to access your plugin's data. - Add a constructor to access everything you need to access your plugin's data.
3.4. Add a `@___Provider` annotation and a method that returns data from your plugin. [Provider Annotations](https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/APIv5---DataExtension-API#-provider-annotations) - Add a `@___Provider` annotation and a method that returns data from your plugin. [Provider Annotations](https://github.com/Rsl1122/Plan-PlayerAnalytics/wiki/APIv5---DataExtension-API#-provider-annotations)
3.5 (Optional) Override `callExtensionMethodsOn` to choose when Plan calls the methods [More about when Plan calls the methods](https://github.com/plan-player-analytics/Plan/wiki/APIv5---DataExtension-API#-provider-annotations) - (Optional) Override `callExtensionMethodsOn` to choose when Plan calls the methods [More about when Plan calls the methods](https://github.com/plan-player-analytics/Plan/wiki/APIv5---DataExtension-API#-provider-annotations)
</details> </details>