GetActions
description the getactions method retrieves experience based actions from the personalization engine using the data provided in the https //developer monetate com/sdks/objects#mdskq it supports both single context and multi context evaluations, depending on the data configured in the https //developer monetate com/sdks/context layer implementation guide#5fc0y method signature getaction method new public void getactions( context context, string\[] actiontypes, boolean includereports, actionscallback callback ) description retrieves experience based actions from the personalization engine using the data provided in the context object parameters (short) true 189,473left rgb(240, 241, 242) rgb(240, 241, 242) unhandled content type left rgb(240, 241, 242) rgb(240, 241, 242) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type example getaction method new personalization getactions( context, new string\[] { "monetate\ action\ omnichanneljson" }, false, new actionscallback() { @override public void onsuccess(string actions) { system out println("actions data " + actions); } @override public void onerror(exception e) { system out println("error occurred " + e getmessage()); } } ); method signature getaction method new public func getactions(context\ contextobj, arractiontypes \[string], includereporting bool ) > future<\[\[string any]], error> description retrieves experience based actions from the personalization engine using the data provided in the context object parameters (short) true 211,451left rgb(240, 241, 242) rgb(240, 241, 242) unhandled content type left rgb(240, 241, 242) rgb(240, 241, 242) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type left rgb(255, 255, 255) rgb(255, 255, 255) unhandled content type example getaction method new objpersonalization getactions(context contextobj, arractiontypes \["monetate\ action\ omnichanneljson"], includereporting false) on(success { (actions) in self handleaction(actions actions) }) { err in print(err localizeddescription) }