Play¶
Configuration¶
Android¶
Modify build.gradle
dependencies {
implementation 'com.senspark.ee:play:2.8.0'
}
iOS¶
Modify Podfile
pod 'ee-x/play', '2.8.0'
Basic usage¶
Initialization
#include <ee/Cpp.hpp>
auto plugin = ee::PluginManager::createPlugin<ee::IPlay>();
Login and logout
auto result = co_await plugin->logIn();
// Handle result.
auto result = co_await plugin->logOut();
// Handle result.