語言

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

呼叫應用程式的上下文。 不可能是 <程式碼>空<或程式碼>。

executor
IExecutor

一個執行者,用於呼叫回調時使用。

listener
SEService.IOnConnectedListener

一個 OnConnectedListener 物件。

屬性

備註

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於