MSFUiDispatcher

Objective-C


@interface MSFUiDispatcher : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

Swift

class MSFUiDispatcher : NSObject

How the facade reaches an app’s UI thread: UI-delivery subscriptions are queued and post() wakes the queue. Without one, they run inline on the producing thread (logged once).

  • Called from the producing thread. Get onto the UI thread and call MassifApi::drain. May be called again before a previous drain has run; one drain empties the whole queue.

    Declaration

    Objective-C

    - (void)post;

    Swift

    func post()
  • Called from the producing thread. Get onto the UI thread and call MassifApi::drain. May be called again before a previous drain has run; one drain empties the whole queue.

    Declaration

    Objective-C

    - (void)postSwigExplicitMSFUiDispatcher;

    Swift

    func postSwigExplicitMSFUiDispatcher()
  • Undocumented

    Declaration

    Objective-C

    -(id)init;

    Swift

    init!()
  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()