namespace Android.Test.Mock
{
    [Register("android/test/mock/MockContext", DoNotGenerateAcw = true)]
    public class MockContext : Context
    {
        [Register("registerReceiver", "(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;", "GetRegisterReceiver_Landroid_content_BroadcastReceiver_Landroid_content_IntentFilter_Handler")]
        public override Intent? RegisterReceiver(BroadcastReceiver? receiver, IntentFilter? filter);
    }
}
Assembly Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-android7.0-android8.0-android9.0-android
Xamarin Android 0.0
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • Android >= 21
  • Built-in API
  • Package-provided API

03/27/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙