S
S
Sergey Oleinik2016-06-15 12:30:15
ActionScript
Sergey Oleinik, 2016-06-15 12:30:15

AS3: How to preselect friends in the notification confirmation window?

I use like this:

Odnoklassniki.showNotification('message', 'params');

The documentation says that there is also a third parameter, selected_uids, but the AS3 method only accepts 2 parameters:
public static function showNotification(text : String, params : String = null) : void
{
  getInstance().send("showNotification", [text, params]);
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vjacheslav Kanivetc, 2016-06-16
@Vjaka

Variant from the example FAPI.UI.showNotification('Default text', 'customAttr=customValue', '1;2'); does not work?
(implies calling the javascript API from the fapi library https://apiok.ru/wiki/display/api/Odnoklassniki+Ja... )

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question