{"id":4756,"date":"2021-12-07T14:20:35","date_gmt":"2021-12-07T06:20:35","guid":{"rendered":"https:\/\/www.enablex.io\/developer\/?page_id=4756"},"modified":"2022-04-08T20:12:46","modified_gmt":"2022-04-08T12:12:46","slug":"disconnect-user","status":"publish","type":"page","link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/video-api\/client-api\/flutter-toolkit\/disconnect-user\/","title":{"rendered":"Disconnect User: Flutter SDK &#8211; Video API"},"content":{"rendered":"\n<p>Moderation may wish to disconnect or force-drop one or more participant(s) from the Session by using&nbsp;<code>dropUser()<\/code>&nbsp;method. <\/p>\n\n\n\n<p><strong>Method:<\/strong>&nbsp;<strong><code>static Future&lt;void&gt;dropUser(List&lt;dynamic&gt;clientIds)<\/code><\/strong><\/p>\n\n\n\n<p><strong>Parameter:<\/strong><\/p>\n\n\n\n<ul><li><code>{List} clientsIds-&nbsp; Pass list of clientIds<\/code>: Required. List of CientId to be disconnected.<\/li><\/ul>\n\n\n\n<p><strong>Event Listeners:<\/strong><\/p>\n\n\n\n<ul><li><code>onAckDropUser:<\/code>&nbsp;To acknowledge that the user has been disconnected<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">EnxRtc.dropUser([clientIds]); \/\/ To drop clientIds from Session\n\nEnxRtc.onAckDropUser=(Map&lt;dynamic,dynamic&gt; map) {\n\t\/\/ Moderators are notified with clientIds dropped\n};\n\n<\/pre>\n\n\n\n<div style=\"height:40px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<div class=\"wp-block-columns\">\n<div class=\"wp-block-column\">\n<p>\u2190 <a href=\"..\/room-mode-switch\/\"><\/a><a href=\"..\/room-mode-switch\/\">Switch Room Mode<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p class=\"has-text-align-center\"><a href=\"..\/\">Index<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<p class=\"has-text-align-right\"><a href=\"..\/session-extension-closure\/\">Session Extension &amp; Closure<\/a> \u2192<a href=\"\/developer\/how-to-use\/\"><\/a><\/p>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Moderation may wish to disconnect or force-drop one or more participant(s) from the Session by using&nbsp;dropUser()&nbsp;method. Method:&nbsp;static Future&lt;void&gt;dropUser(List&lt;dynamic&gt;clientIds) Parameter: {List} clientsIds-&nbsp; Pass list of clientIds: Required. List of CientId to be disconnected. Event Listeners: onAckDropUser:&nbsp;To acknowledge that the user has been disconnected EnxRtc.dropUser([clientIds]); \/\/ To drop clientIds from Session EnxRtc.onAckDropUser=(Map&lt;dynamic,dynamic&gt; map) { \/\/ Moderators are notified with clientIds dropped }; \u2190 Switch Room Mode Index Session Extension &amp; Closure \u2192<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3755,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ub_ctt_via":""},"featured_image_src":null,"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"featured":false,"featured-large":false},"uagb_author_info":{"display_name":"vcxdevwpadmin","author_link":"https:\/\/doc.smartflomeet.ttns.in\/developer\/author\/vcxdevwpadmin\/"},"uagb_comment_info":0,"uagb_excerpt":"Moderation may wish to disconnect or force-drop one or more participant(s) from the Session by using&nbsp;dropUser()&nbsp;method. Method:&nbsp;static Future&lt;void&gt;dropUser(List&lt;dynamic&gt;clientIds) Parameter: {List} clientsIds-&nbsp; Pass list of clientIds: Required. List of CientId to be disconnected. Event Listeners: onAckDropUser:&nbsp;To acknowledge that the user has been disconnected EnxRtc.dropUser([clientIds]); \/\/ To drop clientIds from Session EnxRtc.onAckDropUser=(Map&lt;dynamic,dynamic&gt; map) { \/\/ Moderators are&hellip;","_links":{"self":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/4756"}],"collection":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/comments?post=4756"}],"version-history":[{"count":0,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/4756\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/pages\/3755"}],"wp:attachment":[{"href":"https:\/\/doc.smartflomeet.ttns.in\/developer\/wp-json\/wp\/v2\/media?parent=4756"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}