net9.0-android
namespace Android.Test.Mock
{
[Register("android/test/mock/MockContext", DoNotGenerateAcw = true)]
public class MockContext : Context
{
[Obsolete("This method has an incorrect enumeration type. Use the overload that takes ReceiverFlags instead.")]
[Register("registerReceiver", "(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent;", "GetRegisterReceiver_Landroid_content_BroadcastReceiver_Landroid_content_IntentFilter_Ljava_lang_String_Landroid_os_Handler_IHandler", ApiSince = 26)]
[SupportedOSPlatform("android26.0")]
public override Intent? RegisterReceiver(BroadcastReceiver? receiver, IntentFilter? filter, string? broadcastPermission, Handler? scheduler, [GeneratedEnum] ActivityFlags flags);
}
}
Assembly | Mono.Android , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
Obsolete | This method has an incorrect enumeration type. Use the overload that takes ReceiverFlags instead. |
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:
|