Android.Test.Mock.MockCursor Class

See Also: MockCursor Members

Syntax

[Android.Runtime.Register("android/test/mock/MockCursor", DoNotGenerateAcw=true)]
public class MockCursor : Java.Lang.Object, Android.Database.ICursor, IDisposable

Remarks

A mock Android.Database.ICursor class that isolates the test code from real Cursor implementation.

All methods including ones related to querying the state of the cursor are are non-functional and throw Java.Lang.UnsupportedOperationException.

[Android Documentation]

Requirements

Namespace: Android.Test.Mock
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 8