你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LivenessWithVerifySession Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Session result of detect liveness with verify.
public class LivenessWithVerifySession : System.ClientModel.Primitives.IJsonModel<Azure.AI.Vision.Face.LivenessWithVerifySession>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Vision.Face.LivenessWithVerifySession>
type LivenessWithVerifySession = class
interface IJsonModel<LivenessWithVerifySession>
interface IPersistableModel<LivenessWithVerifySession>
Public Class LivenessWithVerifySession
Implements IJsonModel(Of LivenessWithVerifySession), IPersistableModel(Of LivenessWithVerifySession)
- Inheritance
-
LivenessWithVerifySession
- Implements
Properties
AuthTokenTimeToLiveInSeconds |
Seconds the session should last for. Range is 60 to 86400 seconds. Default value is 600. |
CreatedDateTime |
DateTime when this session was created. |
DeviceCorrelationId |
Unique Guid per each end-user device. This is to provide rate limiting and anti-hammering. If 'deviceCorrelationIdSetInClient' is true in this request, this 'deviceCorrelationId' must be null. |
Id |
The unique ID to reference this session. |
Result |
The latest session audit result only populated if status == 'ResultAvailable'. |
SessionExpired |
Whether or not the session is expired. |
SessionStartDateTime |
DateTime when this session was started by the client. |
Status |
The current status of the session. |
Explicit Interface Implementations
IJsonModel<LivenessWithVerifySession>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<LivenessWithVerifySession>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<LivenessWithVerifySession>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<LivenessWithVerifySession>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<LivenessWithVerifySession>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |