Sdílet prostřednictvím


Reader.OpenSession Method

Definition

Connects to a Secure Element in this reader.

[Android.Runtime.Register("openSession", "()Landroid/se/omapi/Session;", "", ApiSince=28)]
public Android.SE.Omapi.Session OpenSession ();
[<Android.Runtime.Register("openSession", "()Landroid/se/omapi/Session;", "", ApiSince=28)>]
member this.OpenSession : unit -> Android.SE.Omapi.Session

Returns

a Session object to be used to create Channels.

Attributes

Remarks

Connects to a Secure Element in this reader. <br> This method prepares (initialises) the Secure Element for communication before the Session object is returned (e.g. powers the Secure Element by ICC ON if its not already on). There might be multiple sessions opened at the same time on the same reader. The system ensures the interleaving of APDUs between the respective sessions.

Java documentation for android.se.omapi.Reader.openSession().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to