Navigation :
Introduction
FAQ
Setup, deployment & projects
Getting started
Examples
Catel.Core
Catel.MVVM
Catel.Fody
Catel.ReSharper
Tips & tricks
API reference
-
Catel.Cores
--
Catel
---
Catel.Android
---
Catel.ApiCop
---
Catel.Caching
---
Catel.Collections
---
Catel.ComponentModel
---
Catel.Configuration
---
Catel.Core
---
Catel.Data
---
Catel.ExceptionHandling
---
Catel.IO
---
Catel.IoC
---
Catel.Linq
---
Catel.Logging
---
Catel.Messaging
---
Catel.Pooling
---
Catel.Reflection
---
Catel.Runtime
---
Catel.Scoping
---
Catel.Services
---- AccelerometerSensorListener
---- AccelerometerService
---- AccelerometerValue
---- AccelerometerValueChangedEventArgs
---- ApplicationClosingEventArgs
---- AutoCompletionService
---- CameraOperationCompletedEventArgs
---- CameraService
---- CameraServiceBase
---- CameraType
---- ContentReadyEventArgs
---- DispatcherService
---- ExportMode
---- FileServiceBase
---- FlashMode
---- GuidObjectIdGenerator
---- IAccelerometerService
---- IAccelerometerValue
---- IAutoCompletionService
---- ICameraService
---- IDispatcherService
---- IDispatcherServiceExtensions
---- IFileSupport
---- ILanguageService
---- ILanguageSource
---- ILocation
---- ILocationService
---- IMessageService
---- INavigationRootService
---- INavigationService
---- IObjectConverterService
---- IObjectConverterServiceExtensions
---- IObjectIdGenerator
---- IOpenFileService
---- IPleaseWaitService
---- IPleaseWaitServiceExtensions
---- IProcessService
---- IRollingInMemoryLogService
---- ISaveFileService
---- ISchedulerService
---- ISelectDirectoryService
---- ISensorService
---- IService
---- IStartUpInfoProvider
---- IStartUpInfoProviderExtensions
---- IState
---- IStateService
---- IStateServiceExtensions
---- IUIVisualizerService
---- IUIVisualizerServiceExtensions
---- IVibrateService
---- IViewExportService
---- IViewModelService
---- IViewModelWrapperService
---- IWrapControlService
---- IntegerObjectIdGenerator
---- LanguageResourceKey
---- LanguageResourceSource
---- LanguageService
---- LanguageServiceBase
---- Location
---- LocationChangedEventArgs
---- LocationListener
---- LocationService
---- LocationServiceBase
---- LongObjectIdGenerator
---- MessageButton
---- MessageImage
---- MessageResult
---- MessageService
---- NamingConvention
---- NavigationRootService
---- NavigationService
---- NavigationServiceBase
---- NumericBasedObjectIdGenerator
---- ObjectConverterService
---- ObjectIdGenerator
---- OpenFileService
---- PageNotRegisteredException
---- PleaseWaitService
---- PleaseWaitWorkDelegate
---- ProcessCompletedDelegate
---- ProcessService
---- RollingInMemoryLogService
---- SaveFileService
---- SchedulerService
---- SelectDirectoryService
---- SensorServiceBase
---- ServiceBase
---- Size
---- StartUpInfoProvider
---- StateService
---- UICompletedEventArgs
---- UIVisualizerService
---- ULongObjectIdGenerator
---- VibrateService
---- ViewExportService
---- ViewModelServiceBase
---- ViewModelWrapperService
---- ViewModelWrapperServiceBase
---- WindowNotRegisteredException
---- WrapControlService
---- WrapControlServiceControlNames
---- WrapControlServiceWrapOptions
---- WrapOptions
---
Catel.Test
---
Catel.Text
---
Catel.Threading
--- Argument
--- AsyncEventHandler
--- AsyncEventHandlerExtensions
--- ByteArrayExtensions
--- CatelEnvironment
--- CompositeFilter
--- CompositePredicate
--- CoreModule
--- DesignTimeCodeAttribute
--- DesignTimeHelper
--- DesignTimeInitializer
--- Disposable
--- DisposableToken
--- Enum
--- EnvironmentHelper
--- EventHandlerExtensions
--- ExceptionExtensions
--- ExceptionFactory
--- ExpressionHelper
--- FastDateTime
--- HashHelper
--- IBindableEnum
--- ICommandManagerExtensions
--- ICompositeFilter
--- IDisposableToken
--- IExecute
--- IExecuteWithObject
--- IFluent
--- INotifyPropertyChangedExtensions
--- IUniqueIdentifyable
--- IWeakAction
--- IWeakEventListener
--- IWeakFunc
--- IWeakReference
--- JsonExtensions
--- KnownPlatforms
--- LanguageHelper
--- MVVMModule
--- MustBeImplementedException
--- NotSupportedInPlatformException
--- ObjectHelper
--- ObjectToStringHelper
--- OpenInstanceActionHandler
--- OpenInstanceEventHandler
--- ParallelHelper
--- Platforms
--- ProcessExtensions
--- ProgressContext
--- ResourceHelper
--- SerializationJsonModule
--- StringExtensions
--- StringToObjectHelper
--- SupportedPlatforms
--- TagHelper
--- ThemeHelper
--- ThreadHelper
--- UniqueIdentifierHelper
--- UriExtensions
--- WeakAction
--- WeakActionBase
--- WeakEventListener
--- WeakFunc
--
Systems
-
Catel.MVVMs
-
Catel.Serialization.Jsons
IVibrateService
Name
Value
Assembly
Catel.Core
Namespace
Catel.Services
Available on
.NET Framework 4.5, .NET Framework 4.6, Xamarin - Android, Xamarin - iOS
public interface IVibrateService
Interface defining the functionality of the vibrate service.
Methods
Start(TimeSpan duration)
Starts vibration on the device.
Parameters
Name
Description
duration
A TimeSpan object specifying the amount of time, in seconds, for which the phone vibrates. Valid times are between 0 and 5 seconds. Values greater than 5 or less than 0 will generate an exception.
Exceptions
Name
Description
ArgumentOutOfRangeException
Duration is greater than the 5 seconds or duration is negative.
Stop()
Stops the vibration on the device.
Have a question about Catel? Use StackOverflow with the Catel tag!
Discussion
Please enable JavaScript to view the comments powered by Disqus.