Delegate

作者: yzw0921 | 来源:发表于2017-12-27 23:18 被阅读0次

Delegate object is returned by some [[Trading Terminal]] methods and is is required to use an [[Account Manager]]. Using this object you can get updated and update of an event.

subscribe(object, member)

Subscribes object::member to the event.

  1. object is an owner of member, it can be null for a function
  2. member is a method of object

unsubscribe(object, member)

Unsubscribes object::member from the event.
Use the same object and member that you used in subscribe function to unsubscribe from the event.

相关文章

网友评论

      本文标题:Delegate

      本文链接:https://www.haomeiwen.com/subject/vobpgxtx.html