public static void DoVideo(string trigger, object arg1, object arg2, object arg3, object arg4, string url) { string awesomeUrl = url; #if __ANDROID__ Droid.Tasks.Notes.NotesWatchFragment watchFrag = new Droid.Tasks.Notes.NotesWatchFragment(); watchFrag.ParentTask = ((Droid.Tasks.Task)arg3); watchFrag.MediaUrl = awesomeUrl; watchFrag.Name = trigger; ((Droid.Tasks.Task)arg3).PresentFragment(watchFrag, true); #endif #if __IOS__ iOS.NotesWatchUIViewController viewController = new iOS.NotesWatchUIViewController( ); viewController.MediaUrl = awesomeUrl; viewController.Name = trigger; viewController.HideProgressIndicator = true; ((iOS.Task)arg4).PerformSegue((UIKit.UIViewController)arg3, viewController); #endif }
public static void DoVideo( string trigger, object arg1, object arg2, object arg3, object arg4, string url ) { string awesomeUrl = url; #if __ANDROID__ Droid.Tasks.Notes.NotesWatchFragment watchFrag = new Droid.Tasks.Notes.NotesWatchFragment(); watchFrag.ParentTask = ((Droid.Tasks.Task)arg3); watchFrag.MediaUrl = awesomeUrl; watchFrag.Name = trigger; ((Droid.Tasks.Task)arg3).PresentFragment( watchFrag, true ); #endif #if __IOS__ iOS.NotesWatchUIViewController viewController = new iOS.NotesWatchUIViewController( ); viewController.MediaUrl = awesomeUrl; viewController.Name = trigger; viewController.HideProgressIndicator = true; ((iOS.Task)arg4).PerformSegue( (UIKit.UIViewController)arg3, viewController ); #endif }