Class Session

    Definition

    Namespace:
    Tizen.Security.TEEC
    Assembly:
    Tizen.Security.TEEC.dll

    This type denotes a TEE Session, the logical container linking a client application with a particular trusted application.

    public sealed class Session : IDisposable
    Inheritance
    object
    Session

    Methods

    View Source

    Close()

    This function closes a session which has been opened with a trusted application. All commands within the session must be completed before this function can be called.

    Declaration
    public void Close()
    View Source

    Dispose()

    Disposable interface implememtation.

    Declaration
    public void Dispose()
    View Source

    ~Session()

    Destructor of the class.

    Declaration
    protected ~Session()
    View Source

    InvokeCommand(uint, Parameter[])

    This function invokes a command within the specified session. The parameter commandID is an identifier that is used to indicate which of the exposed trusted application functions should be invoked. The supported command identifier values are defined by the trusted application's protocol. There can be up to four parameter objects given in the paramlist array.

    Declaration
    public void InvokeCommand(uint commandID, Parameter[] paramlist)
    Parameters
    Type Name Description
    uint commandID

    The command.

    Parameter[] paramlist

    The array of parameters.

    View Source

    InvokeCommandAsync(uint, Parameter[], CancellationToken)

    The asynchronous version of the InvokeCommand.

    Declaration
    public Task InvokeCommandAsync(uint commandID, Parameter[] paramlist, CancellationToken token = null)
    Parameters
    Type Name Description
    uint commandID

    The command.

    Parameter[] paramlist

    The array of parameters.

    CancellationToken token

    The token for task manipulation.

    Returns
    Type Description
    Task

    Returns a task executing an invoke command in the background.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX