c# - difference between RemoveFromRunningloop and Unschedule -
i have been doing ios development using xamarin. pretty new excuse bad terminology.
i have easession output , input stream schedule , delegate follow:
session.inputstream.delegate = new inputstreamdelegate(input); ; session.inputstream.schedule(nsrunloop.current,nsrunloop.nsdefaultrunloopmode); session.inputstream.open(); according apple developer documentation should reverse when finish. described here. namely: 1) close 2) remove run loop (using removefromrunloop) 3) release
now, tried use removefromrunloop "described" on xamarin api documentation gave me error :
'monotouch.foundation.nsstream' not contain definition 'removefromrunloop' , no extension method 'removefromrunloop' accepting first argument of type 'monotouch.foundation.nsstream' found
i did found unschedule method works well.
can 1 tell me difference between them , clues why removefromrunloop method didn't work?
thanks
the "removefromrunloop" method linked cadisplaylink not related inputstream.
Comments
Post a Comment