FaceClient class

Extends

コンストラクター

FaceClient(ServiceClientCredentials, string, ServiceClientOptions)

FaceClient クラスの新しいインスタンスを初期化します。

プロパティ

face
faceList
largeFaceList
largePersonGroup
largePersonGroupPerson
personGroup
personGroupPerson
snapshot

継承されたプロパティ

credentials
endpoint

継承されたメソッド

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

指定された OperationSpec を使用して設定された HTTP 要求を送信します。

sendRequest(RequestPrepareOptions | WebResourceLike)

指定された httpRequest を送信します。

コンストラクターの詳細

FaceClient(ServiceClientCredentials, string, ServiceClientOptions)

FaceClient クラスの新しいインスタンスを初期化します。

new FaceClient(credentials: ServiceClientCredentials, endpoint: string, options?: ServiceClientOptions)

パラメーター

credentials
ServiceClientCredentials

クライアント サブスクリプションを一意に識別するサブスクリプション資格情報。

endpoint

string

サポートされている Cognitive Services エンドポイント (プロトコルとホスト名、例: https://westus.api.cognitive.microsoft.com)。

options
ServiceClientOptions

パラメーター のオプション

プロパティの詳細

face

face: Face

プロパティ値

faceList

faceList: FaceListOperations

プロパティ値

largeFaceList

largeFaceList: LargeFaceListOperations

プロパティ値

largePersonGroup

largePersonGroup: LargePersonGroupOperations

プロパティ値

largePersonGroupPerson

largePersonGroupPerson: LargePersonGroupPerson

プロパティ値

personGroup

personGroup: PersonGroupOperations

プロパティ値

personGroupPerson

personGroupPerson: PersonGroupPerson

プロパティ値

snapshot

snapshot: SnapshotOperations

プロパティ値

継承されたプロパティの詳細

credentials

credentials: ServiceClientCredentials

プロパティ値

FaceClientContext.credentialsから継承

endpoint

endpoint: string

プロパティ値

string

承元FaceClientContext.endpoint

継承済みメソッドの詳細

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

指定された OperationSpec を使用して設定された HTTP 要求を送信します。

function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>

パラメーター

operationArguments
OperationArguments

HTTP 要求のテンプレート値が設定される引数。

operationSpec
OperationSpec

httpRequest の設定に使用する OperationSpec。

callback

ServiceCallback<any>

応答を受信したときに呼び出すコールバック。

戻り値

Promise<RestResponse>

承元:FaceClientContext.sendOperationRequest

sendRequest(RequestPrepareOptions | WebResourceLike)

指定された httpRequest を送信します。

function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>

パラメーター

戻り値

承元:FaceClientContext.sendRequest