Class
Java

ZingActivity

package com.zingworkshop.engine
public class ZingActivity extends android.app.Activity

An activity that displays and manages a Zing view stack inside a native Android application.

Members

public ZingView getZingView()

Return the ZingView for this activity.

public void broadcastMessage(String message)
public void broadcastMessage(org.json.JSONObject message)

Sends a broadcast message. The message must be a valid JSON string or object.

public void addBroadcastMessageCallback(ZingActivity.BroadcastMessageCallback callback)

Add a broadcast message callback implementation.

public void removeBroadcastMessageCallback(ZingActivity.BroadcastMessageCallback callback)

Remove a previously added broadcast message callback implementation.