BBjNamespace::removeCallbackForNamespaceChange

Description

In BBj 3.0 and higher, this method removes any callback that has previously been set using setCallbackForNamespaceChange.

Syntax

Return Value

Method

void

removeCallbackForNamespaceChange(string callbackName)

Parameters

Variable

Description

callbackName

Specifies the name of the callback.

Return Value

None.

Remarks

None_ERROR_63.

Example

namespace! = BBjAPI().getNamespace("test","test",1)

rem 'set a callback that will be called if *any* value in namespace changes
namespace!.setCallbackForNamespaceChange("callback")

rem 'remove the callback
namespace!.removeCallbackForNamespaceChange()
end

callback:
    print "some value in ", namespace!.getName(), " has changed"

See Also

BBjAPI

BBjNamespace

Object Variables

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.