C# Class CSE520S.Rover.MainPage

Inheritance: PhoneApplicationPage
显示文件 Open project: KnownSubset/CSE520S

Public Methods

Method Description
MainPage ( ) : System

Constructor for the PhoneApplicationPage object

cam_CaptureThumbnailAvailable ( object sender, ContentReadyEventArgs e ) : void

Private Methods

Method Description
HighButtonClick ( object sender, EventArgs e ) : void

Click event handler for the high accuracy button

LowButtonClick ( object sender, EventArgs e ) : void

Click event handler for the low accuracy button

MyPositionChanged ( GeoPositionChangedEventArgs e ) : void

Custom method called from the PositionChanged event handler

MyStatusChanged ( GeoPositionStatusChangedEventArgs e ) : void

Custom method called from the StatusChanged event handler

StartCameraService ( ) : void
StartLocationService ( ) : void

Helper method to start up the location data acquisition

StopButtonClick ( object sender, EventArgs e ) : void
UploadImage ( string latitude, string longitude, string fileName, byte readBuffer ) : void
cam_AutoFocusCompleted ( object sender, CameraOperationCompletedEventArgs e ) : void
cam_CaptureImageAvailable ( object sender, ContentReadyEventArgs e ) : void
cam_CaptureImageCompleted ( object sender, ContentReadyEventArgs e ) : void
cam_Initialized ( object sender, CameraOperationCompletedEventArgs e ) : void
watcher_PositionChanged ( object sender, GeoPositionChangedEventArgs e ) : void

Handler for the PositionChanged event. This invokes MyStatusChanged on the UI thread and passes the GeoPositionStatusChangedEventArgs

watcher_StatusChanged ( object sender, GeoPositionStatusChangedEventArgs e ) : void

Handler for the StatusChanged event. This invokes MyStatusChanged on the UI thread and passes the GeoPositionStatusChangedEventArgs

Method Details

MainPage() public method

Constructor for the PhoneApplicationPage object
public MainPage ( ) : System
return System

cam_CaptureThumbnailAvailable() public method

public cam_CaptureThumbnailAvailable ( object sender, ContentReadyEventArgs e ) : void
sender object
e ContentReadyEventArgs
return void