Interface IAutoCompleteProposalProvider

All Known Implementing Classes:
AutoCompleteProposalProvider

public interface IAutoCompleteProposalProvider
Provides auto-completion results to ContentProposalAdapter.
  • Method Details

    • getProposals

      void getProposals(String contents, IContentProposalSearchHandler handler)
      Requests providers for proposals and notify the handler each time a provider answers.
      Parameters:
      contents - the content to complete.
      handler - see IContentProposalSearchHandler.
    • hasProviders

      boolean hasProviders()
      Returns:
      true if at least one provider is defined.
    • cancel

      void cancel()
      Cancel the current request.
    • getType

      String getType()
      Returns:
      current type, see AutoCompleteTypes.