Flash Playground.sendNotification

From J2Play

Jump to: navigation, search

Contents

Description

Send a notification message to another user.

Syntax

static function sendNotification(recipients : String, message : String) : Void;

Parameters

* @param recipients the user who receives this notification
* @param message the content of notification

Return Value

N/A

Examples

  import ca.j2x.flash.Playground;

  var rival=Challenge.getUsername(1);
  Playground.sendNotification(rival,"It is a good game.");
Personal tools