Пример #1
0
 public override void OnAttach(Context context)
 {
     base.OnAttach(context);
     _callEvents = (IOnCallEvents)context;
 }
        public static CallFragment Create(string name, bool videoCallEnabled, bool captureSliderEnabled, IOnCallEvents onCallEvents)
        {
            var args = new Bundle();

            args.PutString(ExtraName, name);
            args.PutBoolean(ExtraVideoCallEnabled, videoCallEnabled);
            args.PutBoolean(ExtraCaptureSliderEnabled, captureSliderEnabled);

            return(new CallFragment {
                Arguments = args, _callEvents = onCallEvents
            });
        }