C# Class BLE.Client.ViewModels.BaseViewModel

Inheritance: MvvmCross.Core.ViewModels.MvxViewModel
Show file Open project: xabre/xamarin-bluetooth-le

Protected Properties

Property Type Description
Adapter IAdapter

Public Methods

Method Description
BaseViewModel ( IAdapter adapter ) : System
Resume ( ) : void
Suspend ( ) : void

Protected Methods

Method Description
GetCharacteristicFromBundleAsync ( IMvxBundle parameters ) : Task
GetDescriptorFromBundleAsync ( IMvxBundle parameters ) : Task
GetDeviceFromBundle ( IMvxBundle parameters ) : IDevice
GetServiceFromBundleAsync ( IMvxBundle parameters ) : Task
InitFromBundle ( IMvxBundle parameters ) : void

Method Details

BaseViewModel() public method

public BaseViewModel ( IAdapter adapter ) : System
adapter IAdapter
return System

GetCharacteristicFromBundleAsync() protected method

protected GetCharacteristicFromBundleAsync ( IMvxBundle parameters ) : Task
parameters IMvxBundle
return Task

GetDescriptorFromBundleAsync() protected method

protected GetDescriptorFromBundleAsync ( IMvxBundle parameters ) : Task
parameters IMvxBundle
return Task

GetDeviceFromBundle() protected method

protected GetDeviceFromBundle ( IMvxBundle parameters ) : IDevice
parameters IMvxBundle
return IDevice

GetServiceFromBundleAsync() protected method

protected GetServiceFromBundleAsync ( IMvxBundle parameters ) : Task
parameters IMvxBundle
return Task

InitFromBundle() protected method

protected InitFromBundle ( IMvxBundle parameters ) : void
parameters IMvxBundle
return void

Resume() public method

public Resume ( ) : void
return void

Suspend() public method

public Suspend ( ) : void
return void

Property Details

Adapter protected property

protected IAdapter Adapter
return IAdapter