语言

SEService(Context, IExecutor, SEService+IOnConnectedListener) 构造函数

定义

建立一个新连接,该连接可用于连接到系统中可用的所有安全元素。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/util/concurrent/Executor;Landroid/se/omapi/SEService$OnConnectedListener;)V", "", ApiSince=28)]
public SEService(Android.Content.Context context, Java.Util.Concurrent.IExecutor executor, Android.SE.Omapi.SEService.IOnConnectedListener listener);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/util/concurrent/Executor;Landroid/se/omapi/SEService$OnConnectedListener;)V", "", ApiSince=28)>]
new Android.SE.Omapi.SEService : Android.Content.Context * Java.Util.Concurrent.IExecutor * Android.SE.Omapi.SEService.IOnConnectedListener -> Android.SE.Omapi.SEService

参数

context
Context

调用应用程序的上下文。 不能为 null。

executor
IExecutor

调用回调时将使用的执行程序。

listener
SEService.IOnConnectedListener

OnConnectedListener 对象。

特性

注解

Java文档android.se.omapi.SEService.SEService(android.content.Context, java.util.concurrent.Executor, android.se.omapi.OnConnectedListener)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于