C# Class ZXing.Mobile.ZxingActivity

Inheritance: FragmentActivity
Show file Open project: Redth/ZXing.Net.Mobile Class Usage Examples

Public Properties

Property Type Description
AutoFocusRequestedHandler System.Action
CancelRequestedHandler System.Action
CanceledHandler System.Action
PauseAnalysisHandler System.Action
RequiredPermissions string[]
ResumeAnalysisHandler System.Action
ScanCompletedHandler Action
TorchRequestedHandler Action

Public Methods

Method Description
AutoFocus ( ) : void
CancelScan ( ) : void
OnConfigurationChanged ( Android newConfig ) : void
OnKeyDown ( Keycode keyCode, Android.Views.KeyEvent e ) : bool
OnRequestPermissionsResult ( int requestCode, string permissions, [ grantResults ) : void
RequestAutoFocus ( ) : void
RequestCancel ( ) : void
RequestPauseAnalysis ( ) : void
RequestResumeAnalysis ( ) : void
RequestTorch ( bool torchOn ) : void
SetTorch ( bool on ) : void

Protected Methods

Method Description
OnCreate ( Bundle bundle ) : void
OnResume ( ) : void

Private Methods

Method Description
StartScanning ( ) : void

Method Details

AutoFocus() public method

public AutoFocus ( ) : void
return void

CancelScan() public method

public CancelScan ( ) : void
return void

OnConfigurationChanged() public method

public OnConfigurationChanged ( Android newConfig ) : void
newConfig Android
return void

OnCreate() protected method

protected OnCreate ( Bundle bundle ) : void
bundle Bundle
return void

OnKeyDown() public method

public OnKeyDown ( Keycode keyCode, Android.Views.KeyEvent e ) : bool
keyCode Keycode
e Android.Views.KeyEvent
return bool

OnRequestPermissionsResult() public method

public OnRequestPermissionsResult ( int requestCode, string permissions, [ grantResults ) : void
requestCode int
permissions string
grantResults [
return void

OnResume() protected method

protected OnResume ( ) : void
return void

RequestAutoFocus() public static method

public static RequestAutoFocus ( ) : void
return void

RequestCancel() public static method

public static RequestCancel ( ) : void
return void

RequestPauseAnalysis() public static method

public static RequestPauseAnalysis ( ) : void
return void

RequestResumeAnalysis() public static method

public static RequestResumeAnalysis ( ) : void
return void

RequestTorch() public static method

public static RequestTorch ( bool torchOn ) : void
torchOn bool
return void

SetTorch() public method

public SetTorch ( bool on ) : void
on bool
return void

Property Details

AutoFocusRequestedHandler public static property

public static Action,System AutoFocusRequestedHandler
return System.Action

CancelRequestedHandler public static property

public static Action,System CancelRequestedHandler
return System.Action

CanceledHandler public static property

public static Action,System CanceledHandler
return System.Action

PauseAnalysisHandler public static property

public static Action,System PauseAnalysisHandler
return System.Action

RequiredPermissions public static property

public static string[] RequiredPermissions
return string[]

ResumeAnalysisHandler public static property

public static Action,System ResumeAnalysisHandler
return System.Action

ScanCompletedHandler public static property

public static Action ScanCompletedHandler
return Action

TorchRequestedHandler public static property

public static Action TorchRequestedHandler
return Action