package Ġcom . cloud webrtc . webrtc . model Ċ Ċ import Ġorg . webrtc . Peer Connection . Signal ing State Ġas ĠW Signal ing State Ċ Ċ /** Ċ Ġ* ĠRepresentation Ġof Ġan Ġ[ org . webrtc . Peer Connection . Signal ing State ]. Ċ Ġ* Ċ Ġ* Ġ@ property Ġvalue Ġ[ Int ] Ġrepresentation Ġof Ġthis Ġenum Ġwhich Ġwill Ġbe Ġexpected Ġon Ġthe ĠFlutter Ġside . Ċ Ġ*/ Ċ enum Ġclass ĠSignal ing State ( val Ġvalue : ĠInt ) Ġ{ ĊĠ Ġ/** ĠIndicates Ġthat Ġthere Ġis Ġno Ġongoing Ġexchange Ġof Ġoffer Ġand Ġanswer Ġunder way . Ġ*/ ĊĠ ĠST ABLE ( 0 ), ĊĊĠ Ġ/** ĠIndicates Ġthat Ġthe Ġlocal Ġpeer Ġhas Ġcalled Ġ` RT CP eer Connection . set Local Description ()`. Ġ*/ ĊĠ ĠHAVE _ LOCAL _ OFF ER ( 1 ), ĊĊĠ Ġ/** ĊĠĠ Ġ* ĠIndicates Ġthat Ġthe Ġoffer Ġsent Ġby Ġthe Ġremote Ġpeer Ġhas Ġbeen Ġapplied Ġand Ġan Ġanswer Ġhas Ġbeen ĊĠĠ Ġ* Ġcreated . ĊĠĠ Ġ*/ ĊĠ ĠHAVE _ LOCAL _ P RAN SW ER ( 2 ), ĊĊĠ Ġ/** ĊĠĠ Ġ* ĠIndicates Ġthat Ġthe Ġremote Ġpeer Ġhas Ġcreated Ġan Ġoffer Ġand Ġused Ġthe Ġsignal ing Ġserver Ġto Ġdeliver Ġit ĊĠĠ Ġ* Ġto Ġthe Ġlocal Ġpeer , Ġwhich Ġhas Ġset Ġthe Ġoffer Ġas Ġthe Ġremote Ġdescription Ġby Ġcalling ĊĠĠ Ġ* Ġ` Peer Connection . set Remote Description ()`. ĊĠĠ Ġ*/ ĊĠ ĠHAVE _ REMOTE _ OFF ER ( 3 ), ĊĊĠ Ġ/** ĊĠĠ Ġ* ĠIndicates Ġthat Ġthe Ġprovision al Ġanswer Ġhas Ġbeen Ġreceived Ġand Ġsuccessfully Ġapplied Ġin Ġresponse Ġto ĊĠĠ Ġ* Ġthe Ġoffer Ġpreviously Ġsent Ġand Ġestablished . ĊĠĠ Ġ*/ ĊĠ ĠHAVE _ REMOTE _ P RAN SW ER ( 4 ), ĊĊĠ Ġ/** ĠIndicates Ġthat Ġthe Ġpeer Ġwas Ġclosed . Ġ*/ ĊĠ ĠCLO SED ( 5 ); ĊĊĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠConverts Ġthe Ġprovided Ġ[ org . webrtc . Peer Connection . Signal ing State ] Ġinto Ġa Ġ[ Signal ing State ]. ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ return Ġ[ Signal ing State ] Ġcreated Ġbased Ġon Ġthe Ġprovided ĊĠĠĠĠ Ġ* Ġ[ org . webrtc . Peer Connection . Signal ing State ]. ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun Ġfrom Web Rtc ( from : ĠW Signal ing State ): ĠSignal ing State Ġ{ ĊĠĠĠĠĠ Ġreturn Ġwhen Ġ( from ) Ġ{ ĊĠĠĠĠĠĠĠ ĠW Signal ing State . ST ABLE Ġ-> ĠST ABLE ĊĠĠĠĠĠĠĠ ĠW Signal ing State . HAVE _ LOCAL _ OFF ER Ġ-> ĠHAVE _ LOCAL _ OFF ER ĊĠĠĠĠĠĠĠ ĠW Signal ing State . HAVE _ LOCAL _ P RAN SW ER Ġ-> ĠHAVE _ LOCAL _ P RAN SW ER ĊĠĠĠĠĠĠĠ ĠW Signal ing State . HAVE _ REMOTE _ OFF ER Ġ-> ĠHAVE _ REMOTE _ OFF ER ĊĠĠĠĠĠĠĠ ĠW Signal ing State . HAVE _ REMOTE _ P RAN SW ER Ġ-> ĠHAVE _ REMOTE _ P RAN SW ER ĊĠĠĠĠĠĠĠ ĠW Signal ing State . CLOSED Ġ-> ĠCLO SED ĊĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ