BlockObject¶
- 
public class BlockObjectextends ObjCObject¶
- Wrapper class used for wrapping callbacks. - A wrapped callback can be used like an Objective-C block code. 
Constructors¶
Methods¶
wrap¶
- 
public static BlockObject wrap(Object callback, String name)¶
- Wraps an instance as a callback. - Parameters: - callback – The instance we want to wrap
- name – The name specifies the method
 - Returns: - The constructed block object 
wrap¶
- 
public static BlockObject wrap(Object callback, String name, java.lang.Class<?>[] argTypes)¶
- Wraps an instance as a callback. - Parameters: - callback – The instance we want to wrap
- name – The method name specifies the method
- argTypes – The method argument types specifies the method
 - Returns: - The constructed block object 
wrap¶
- 
public static BlockObject wrap(Object callback)¶
- Wraps an instance as a callback. - Parameters: - callback – The instance we want to wrap
 - Returns: - The constructed block object 
