Метод | Описание | |
---|---|---|
AutoFocus ( ) : void | ||
AutoFocus ( int x, int y ) : void | ||
AutoFocusAsync ( int x, int y, bool useCoordinates ) : Task | ||
Cancel ( ) : Task | ||
Dispose ( ) : void | ||
PauseAnalysis ( ) : void | ||
ResumeAnalysis ( ) : void | ||
StartScanning ( Action |
||
StartScanningAsync ( Action |
||
StopScanning ( ) : void | ||
StopScanningAsync ( ) : Task | ||
ToggleTorch ( ) : void | ||
Torch ( bool on ) : void | ||
ZXingScannerControl ( ) : System |
Метод | Описание | |
---|---|---|
OnPointerPressed ( PointerRoutedEventArgs e ) : void | ||
OnTapped ( TappedRoutedEventArgs e ) : void |
Метод | Описание | |
---|---|---|
CalculatePreviewRotation ( VideoRotation &sourceRotation, int &rotationDegrees ) : void |
Reads the current orientation of the app and calculates the VideoRotation necessary to ensure the preview is rendered in the correct orientation.
|
|
ConvertUiTapToPreviewRect ( Point tap, |
Applies the necessary rotation to a tap on a CaptureElement (with Stretch mode set to Uniform) to account for device orientation
|
|
GetFilteredCameraOrDefaultAsync ( ZXing.Mobile.MobileBarcodeScanningOptions options ) : Task |
||
GetPreviewResolution ( IMediaEncodingProperties props ) : |
||
GetPreviewStreamRectInControl ( |
Calculates the size and location of the rectangle that contains the preview stream within the preview control, when the scaling mode is Uniform
|
|
SetPreviewRotationAsync ( IMediaEncodingProperties props ) : Task |
Gets the current orientation of the UI in relation to the device and applies a corrective rotation to the preview
|
|
SetupAutoFocus ( ) : Task | ||
buttonToggleFlash_Click ( object sender, |
||
displayInformation_OrientationChanged ( DisplayInformation sender, object args ) : void |
public AutoFocusAsync ( int x, int y, bool useCoordinates ) : Task | ||
x | int | |
y | int | |
useCoordinates | bool | |
Результат | Task |
protected OnPointerPressed ( PointerRoutedEventArgs e ) : void | ||
e | PointerRoutedEventArgs | |
Результат | void |
protected OnTapped ( TappedRoutedEventArgs e ) : void | ||
e | TappedRoutedEventArgs | |
Результат | void |
public StartScanning ( Action |
||
scanCallback | Action |
|
options | ZXing.Mobile.MobileBarcodeScanningOptions | |
Результат | void |
public StartScanningAsync ( Action |
||
scanCallback | Action |
|
options | ZXing.Mobile.MobileBarcodeScanningOptions | |
Результат | Task |