public class CarClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
CarClient(Credential credential,
String region) |
CarClient(Credential credential,
String region,
ClientProfile profile) |
Modifier and Type | Method and Description |
---|---|
ApplyConcurrentResponse |
ApplyConcurrent(ApplyConcurrentRequest req)
This API is used to request a concurrency.
|
CreateSessionResponse |
CreateSession(CreateSessionRequest req)
This API is used to create a session.
|
DestroySessionResponse |
DestroySession(DestroySessionRequest req)
This API is used to terminate a session.
|
StartPublishStreamResponse |
StartPublishStream(StartPublishStreamRequest req)
This API is used to start stream push.
|
StopPublishStreamResponse |
StopPublishStream(StopPublishStreamRequest req)
This API is used to stop stream push.
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public CarClient(Credential credential, String region)
public CarClient(Credential credential, String region, ClientProfile profile)
public ApplyConcurrentResponse ApplyConcurrent(ApplyConcurrentRequest req) throws TencentCloudSDKException
req
- ApplyConcurrentRequestTencentCloudSDKException
public CreateSessionResponse CreateSession(CreateSessionRequest req) throws TencentCloudSDKException
req
- CreateSessionRequestTencentCloudSDKException
public DestroySessionResponse DestroySession(DestroySessionRequest req) throws TencentCloudSDKException
req
- DestroySessionRequestTencentCloudSDKException
public StartPublishStreamResponse StartPublishStream(StartPublishStreamRequest req) throws TencentCloudSDKException
req
- StartPublishStreamRequestTencentCloudSDKException
public StopPublishStreamResponse StopPublishStream(StopPublishStreamRequest req) throws TencentCloudSDKException
req
- StopPublishStreamRequestTencentCloudSDKException
Copyright © 2023. All rights reserved.