580 lines
25 KiB
HTML
580 lines
25 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
|
|
<meta name="description" content="API docs for the CSIManager class from the moxxmpp library, for the Dart programming language.">
|
|
<title>CSIManager class - moxxmpp library - Dart API</title>
|
|
|
|
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" rel="stylesheet">
|
|
|
|
<link rel="stylesheet" href="../static-assets/github.css?v1">
|
|
<link rel="stylesheet" href="../static-assets/styles.css?v1">
|
|
<link rel="icon" href="../static-assets/favicon.png?v1">
|
|
|
|
|
|
</head>
|
|
|
|
|
|
<body data-base-href="../" data-using-base-href="false" class="light-theme">
|
|
|
|
<div id="overlay-under-drawer"></div>
|
|
|
|
<header id="title">
|
|
<span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span>
|
|
<ol class="breadcrumbs gt-separated dark hidden-xs">
|
|
<li><a href="../index.html">moxxmpp</a></li>
|
|
<li><a href="../moxxmpp/moxxmpp-library.html">moxxmpp</a></li>
|
|
<li class="self-crumb">CSIManager class</li>
|
|
</ol>
|
|
<div class="self-name">CSIManager</div>
|
|
<form class="search navbar-right" role="search">
|
|
<input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
|
|
</form>
|
|
<div class="toggle" id="theme-button">
|
|
<label for="theme">
|
|
<input type="checkbox" id="theme" value="light-theme">
|
|
<span id="dark-theme-button" class="material-symbols-outlined">
|
|
brightness_4
|
|
</span>
|
|
<span id="light-theme-button" class="material-symbols-outlined">
|
|
brightness_5
|
|
</span>
|
|
</label>
|
|
</div>
|
|
</header>
|
|
<main>
|
|
|
|
<div
|
|
id="dartdoc-main-content"
|
|
class="main-content"
|
|
data-above-sidebar="moxxmpp/moxxmpp-library-sidebar.html"
|
|
data-below-sidebar="moxxmpp/CSIManager-class-sidebar.html">
|
|
<div>
|
|
<h1><span class="kind-class">CSIManager</span> class
|
|
|
|
</h1></div>
|
|
|
|
|
|
<section class="desc markdown">
|
|
<p>The manager requires a CSINegotiator to be registered as a feature negotiator.</p>
|
|
</section>
|
|
|
|
|
|
<section>
|
|
<dl class="dl-horizontal">
|
|
|
|
<dt>Inheritance</dt>
|
|
<dd>
|
|
<ul class="gt-separated dark clazz-relationships">
|
|
<li><a href="https://api.dart.dev/stable/3.2.4/dart-core/Object-class.html">Object</a></li>
|
|
<li><a href="../moxxmpp/XmppManagerBase-class.html">XmppManagerBase</a></li>
|
|
<li>CSIManager</li>
|
|
</ul>
|
|
</dd>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
<section class="summary offset-anchor" id="constructors">
|
|
<h2>Constructors</h2>
|
|
|
|
<dl class="constructor-summary-list">
|
|
<dt id="CSIManager" class="callable">
|
|
<span class="name"><a href="../moxxmpp/CSIManager/CSIManager.html">CSIManager</a></span><span class="signature">()</span>
|
|
</dt>
|
|
<dd>
|
|
|
|
</dd>
|
|
</dl>
|
|
</section>
|
|
|
|
<section class="summary offset-anchor" id="instance-properties">
|
|
<h2>Properties</h2>
|
|
|
|
<dl class="properties">
|
|
<dt id="hashCode" class="property inherited">
|
|
<span class="name"><a href="https://api.dart.dev/stable/3.2.4/dart-core/Object/hashCode.html">hashCode</a></span>
|
|
<span class="signature">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/int-class.html">int</a></span>
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
The hash code for this object.
|
|
<div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="id" class="property inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/id.html">id</a></span>
|
|
<span class="signature">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/String-class.html">String</a></span>
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Return the Id (akin to xmlns) of this manager.
|
|
<div class="features"><span class="feature">final</span><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="initialized" class="property inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/initialized.html">initialized</a></span>
|
|
<span class="signature">↔ <a href="https://api.dart.dev/stable/3.2.4/dart-core/bool-class.html">bool</a></span>
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Flag indicating that the post registration callback has been called once.
|
|
<div class="features"><span class="feature">getter/setter pair</span><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="isActive" class="property">
|
|
<span class="name"><a href="../moxxmpp/CSIManager/isActive.html">isActive</a></span>
|
|
<span class="signature">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/bool-class.html">bool</a></span>
|
|
|
|
</dt>
|
|
<dd>
|
|
|
|
<div class="features"><span class="feature">no setter</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="logger" class="property inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/logger.html">logger</a></span>
|
|
<span class="signature">→ <a href="https://pub.dev/documentation/logging/1.2.0/logging/Logger-class.html">Logger</a></span>
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Return the logger for this manager.
|
|
<div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="name" class="property inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/name.html">name</a></span>
|
|
<span class="signature">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/String-class.html">String</a></span>
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
The name of the manager.
|
|
<div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="runtimeType" class="property inherited">
|
|
<span class="name"><a href="https://api.dart.dev/stable/3.2.4/dart-core/Object/runtimeType.html">runtimeType</a></span>
|
|
<span class="signature">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/Type-class.html">Type</a></span>
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
A representation of the runtime type of the object.
|
|
<div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
<section
|
|
class="summary offset-anchor"
|
|
id="instance-methods">
|
|
<h2>Methods</h2>
|
|
<dl class="callables">
|
|
<dt id="getAttributes" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/getAttributes.html">getAttributes</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="../moxxmpp/XmppManagerAttributes-class.html">XmppManagerAttributes</a></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Returns the attributes that are registered with the manager.
|
|
Must only be called after register has been called on it.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="getDiscoFeatures" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/getDiscoFeatures.html">getDiscoFeatures</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/List-class.html">List</a><span class="signature"><<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.2.4/dart-core/String-class.html">String</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Return a list of features that should be included in a disco response.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="getDiscoIdentities" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/getDiscoIdentities.html">getDiscoIdentities</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/List-class.html">List</a><span class="signature"><<wbr><span class="type-parameter"><a href="../moxxmpp/Identity-class.html">Identity</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Return a list of identities that should be included in a disco response.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="getIncomingPreStanzaHandlers" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/getIncomingPreStanzaHandlers.html">getIncomingPreStanzaHandlers</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/List-class.html">List</a><span class="signature"><<wbr><span class="type-parameter"><a href="../moxxmpp/StanzaHandler-class.html">StanzaHandler</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Return the StanzaHandlers associated with this manager that deal with stanza handlers
|
|
that have to run before the main ones run. This is useful, for example, for OMEMO
|
|
as we have to decrypt the stanza before we do anything else. The higher the value
|
|
of the handler's priority, the earlier it is run.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="getIncomingStanzaHandlers" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/getIncomingStanzaHandlers.html">getIncomingStanzaHandlers</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/List-class.html">List</a><span class="signature"><<wbr><span class="type-parameter"><a href="../moxxmpp/StanzaHandler-class.html">StanzaHandler</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Return the StanzaHandlers associated with this manager that deal with stanzas we
|
|
receive. The higher the value of the
|
|
handler's priority, the earlier it is run.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="getNonzaHandlers" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/getNonzaHandlers.html">getNonzaHandlers</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/List-class.html">List</a><span class="signature"><<wbr><span class="type-parameter"><a href="../moxxmpp/NonzaHandler-class.html">NonzaHandler</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Return the NonzaHandlers associated with this manager. The higher the value of the
|
|
handler's priority, the earlier it is run.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="getOutgoingPostStanzaHandlers" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/getOutgoingPostStanzaHandlers.html">getOutgoingPostStanzaHandlers</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/List-class.html">List</a><span class="signature"><<wbr><span class="type-parameter"><a href="../moxxmpp/StanzaHandler-class.html">StanzaHandler</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Return the StanzaHandlers associated with this manager that deal with stanzas we
|
|
send. These are run after the stanza is sent. The higher the value of the
|
|
handler's priority, the earlier it is run.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="getOutgoingPreStanzaHandlers" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/getOutgoingPreStanzaHandlers.html">getOutgoingPreStanzaHandlers</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/List-class.html">List</a><span class="signature"><<wbr><span class="type-parameter"><a href="../moxxmpp/StanzaHandler-class.html">StanzaHandler</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Return the StanzaHandlers associated with this manager that deal with stanzas we
|
|
send. These are run before the stanza is sent. The higher the value of the
|
|
handler's priority, the earlier it is run.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="isFeatureSupported" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/isFeatureSupported.html">isFeatureSupported</a></span><span class="signature">(<wbr><span class="parameter" id="isFeatureSupported-param-xmlns"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.2.4/dart-core/String-class.html">String</a></span> <span class="parameter-name">xmlns</span></span>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.2.4/dart-core/bool-class.html">bool</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Resolves to true when the server supports the disco feature <code>xmlns</code>. Resolves
|
|
to false when either the disco request fails or the server does not
|
|
support <code>xmlns</code>.
|
|
Note that this function requires a registered DiscoManager.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="isNewStream" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/isNewStream.html">isNewStream</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.2.4/dart-core/bool-class.html">bool</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Returns true, if the current stream negotiations resulted in a new stream. Useful
|
|
for plugins to reset their cache in case of a new stream.
|
|
The value only makes sense after receiving a StreamNegotiationsDoneEvent.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="isSupported" class="callable">
|
|
<span class="name"><a href="../moxxmpp/CSIManager/isSupported.html">isSupported</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.2.4/dart-core/bool-class.html">bool</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd>
|
|
Returns true if the XEP is supported on the server. If not, returns false
|
|
<div class="features"><span class="feature">override</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="noSuchMethod" class="callable inherited">
|
|
<span class="name"><a href="https://api.dart.dev/stable/3.2.4/dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.2.4/dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
|
|
<span class="returntype parameter">→ dynamic</span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Invoked when a nonexistent method or property is accessed.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="onData" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/onData.html">onData</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter">void</span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Whenever the socket receives data, this method is called, if it is non-null.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="onXmppEvent" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/onXmppEvent.html">onXmppEvent</a></span><span class="signature">(<wbr><span class="parameter" id="onXmppEvent-param-event"><span class="type-annotation"><a href="../moxxmpp/XmppEvent-class.html">XmppEvent</a></span> <span class="parameter-name">event</span></span>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter">void</span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Called when XmppConnection triggers an event
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="postRegisterCallback" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/postRegisterCallback.html">postRegisterCallback</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter">void</span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Called after the registration of all managers against the XmppConnection is done.
|
|
This method is only called once during the entire lifetime of it.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="register" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/register.html">register</a></span><span class="signature">(<wbr><span class="parameter" id="register-param-attributes"><span class="type-annotation"><a href="../moxxmpp/XmppManagerAttributes-class.html">XmppManagerAttributes</a></span> <span class="parameter-name">attributes</span></span>)
|
|
<span class="returntype parameter">→ void</span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Registers the callbacks from XmppConnection with the manager
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="reply" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/reply.html">reply</a></span><span class="signature">(<wbr><span class="parameter" id="reply-param-data"><span class="type-annotation"><a href="../moxxmpp/StanzaHandlerData-class.html">StanzaHandlerData</a></span> <span class="parameter-name">data</span>, </span><span class="parameter" id="reply-param-type"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.2.4/dart-core/String-class.html">String</a></span> <span class="parameter-name">type</span>, </span><span class="parameter" id="reply-param-children"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.2.4/dart-core/List-class.html">List</a><span class="signature"><<wbr><span class="type-parameter"><a href="../moxxmpp/XMLNode-class.html">XMLNode</a></span>></span></span> <span class="parameter-name">children</span></span>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter">void</span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Sends a reply of the stanza in <code>data</code> with <code>type</code>. Replaces the original stanza's
|
|
children with <code>children</code>.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="restoreCSIState" class="callable">
|
|
<span class="name"><a href="../moxxmpp/CSIManager/restoreCSIState.html">restoreCSIState</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ void</span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd>
|
|
To be called after a stream has been resumed as CSI does not
|
|
survive a stream resumption.
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="runNonzaHandlers" class="callable inherited">
|
|
<span class="name"><a href="../moxxmpp/XmppManagerBase/runNonzaHandlers.html">runNonzaHandlers</a></span><span class="signature">(<wbr><span class="parameter" id="runNonzaHandlers-param-nonza"><span class="type-annotation"><a href="../moxxmpp/XMLNode-class.html">XMLNode</a></span> <span class="parameter-name">nonza</span></span>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter"><a href="https://api.dart.dev/stable/3.2.4/dart-core/bool-class.html">bool</a></span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
Runs all NonzaHandlers of this Manager which match the nonza. Resolves to true if
|
|
the nonza has been handled by one of the handlers. Resolves to false otherwise.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
<dt id="setActive" class="callable">
|
|
<span class="name"><a href="../moxxmpp/CSIManager/setActive.html">setActive</a></span><span class="signature">(<wbr><span class="parameter" id="setActive-param-sendNonza">{<span class="type-annotation"><a href="https://api.dart.dev/stable/3.2.4/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">sendNonza</span> = <span class="default-value">true</span>}</span>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter">void</span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd>
|
|
Tells the server to stop optimizing traffic.
|
|
If <code>sendNonza</code> is false, then no nonza is sent. This is useful
|
|
for setting up the CSI manager for Bind2.
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="setInactive" class="callable">
|
|
<span class="name"><a href="../moxxmpp/CSIManager/setInactive.html">setInactive</a></span><span class="signature">(<wbr><span class="parameter" id="setInactive-param-sendNonza">{<span class="type-annotation"><a href="https://api.dart.dev/stable/3.2.4/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">sendNonza</span> = <span class="default-value">true</span>}</span>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-async/Future-class.html">Future</a><span class="signature"><<wbr><span class="type-parameter">void</span>></span></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd>
|
|
Tells the server to optimize traffic following XEP-0352
|
|
If <code>sendNonza</code> is false, then no nonza is sent. This is useful
|
|
for setting up the CSI manager for Bind2.
|
|
|
|
|
|
</dd>
|
|
|
|
<dt id="toString" class="callable inherited">
|
|
<span class="name"><a href="https://api.dart.dev/stable/3.2.4/dart-core/Object/toString.html">toString</a></span><span class="signature">(<wbr>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/String-class.html">String</a></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
A string representation of this object.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
</section>
|
|
|
|
<section
|
|
class="summary offset-anchor inherited"
|
|
id="operators">
|
|
<h2>Operators</h2>
|
|
<dl class="callables">
|
|
<dt id="operator ==" class="callable inherited">
|
|
<span class="name"><a href="https://api.dart.dev/stable/3.2.4/dart-core/Object/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation"><a href="https://api.dart.dev/stable/3.2.4/dart-core/Object-class.html">Object</a></span> <span class="parameter-name">other</span></span>)
|
|
<span class="returntype parameter">→ <a href="https://api.dart.dev/stable/3.2.4/dart-core/bool-class.html">bool</a></span>
|
|
</span>
|
|
|
|
|
|
</dt>
|
|
<dd class="inherited">
|
|
The equality operator.
|
|
<div class="features"><span class="feature">inherited</span></div>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</div> <!-- /.main-content -->
|
|
|
|
<div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
|
|
<!-- The search input and breadcrumbs below are only responsively visible at low resolutions. -->
|
|
<header id="header-search-sidebar" class="hidden-l">
|
|
<form class="search-sidebar" role="search">
|
|
<input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
|
|
</form>
|
|
</header>
|
|
|
|
<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
|
|
<li><a href="../index.html">moxxmpp</a></li>
|
|
<li><a href="../moxxmpp/moxxmpp-library.html">moxxmpp</a></li>
|
|
<li class="self-crumb">CSIManager class</li>
|
|
</ol>
|
|
|
|
|
|
<h5>moxxmpp library</h5>
|
|
<div id="dartdoc-sidebar-left-content"></div>
|
|
</div>
|
|
|
|
<div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
|
|
</div><!--/.sidebar-offcanvas-->
|
|
|
|
</main>
|
|
|
|
<footer>
|
|
<span class="no-break">
|
|
moxxmpp
|
|
0.4.0
|
|
</span>
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<script src="../static-assets/highlight.pack.js?v1"></script>
|
|
<script src="../static-assets/docs.dart.js"></script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|