package com.zingworkshop.engine
public class ZingActivity extends

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


public void broadcastMessage(String message)

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

Broadcast messages are truly "broadcast" - they will be received by System.broadcastMessage() handlers in Zing code as well as registered ZingActivity.BroadcastMessageCallback callbacks.

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.