gpg:: VideoCapabilities
#include <video_capabilities.h>
โครงสร้างข้อมูลที่ช่วยให้เข้าถึงข้อมูลเกี่ยวกับความสามารถของอุปกรณ์ในปัจจุบันในการบันทึกวิดีโอ
สรุป
ผู้ผลิตและผู้ทำลาย |
|
---|---|
VideoCapabilities()
|
|
VideoCapabilities(std::shared_ptr< const VideoCapabilitiesImpl > impl)
ตัวสร้างที่ชัดแจ้ง
|
|
VideoCapabilities(const VideoCapabilities & copy_from)
คัดลอกตัวสร้างสำหรับคัดลอกออบเจ็กต์ VideoCapabilities ที่มีอยู่ไปยังออบเจ็กต์ใหม่
|
|
VideoCapabilities(VideoCapabilities && move_from)
เครื่องมือสร้างสำหรับการย้ายออบเจ็กต์ VideoCapabilities ที่มีอยู่ไปยังออบเจ็กต์ใหม่
|
|
~VideoCapabilities()
|
ฟังก์ชันสาธารณะ |
|
---|---|
IsCameraSupported() const
|
bool
ส่งคืนว่าอุปกรณ์มีกล้องหน้าหรือไม่ และเราใช้งานได้
|
IsFullySupported(VideoCaptureMode capture_mode, VideoQualityLevel quality_level) const
|
bool
ตรวจสอบว่าระบบรองรับโหมดจับภาพและระดับคุณภาพ รวมถึงกล้อง ไมโครโฟน และการเขียนพื้นที่เก็บข้อมูลหรือไม่
|
IsMicSupported() const
|
bool
ส่งคืนว่าอุปกรณ์มีไมโครโฟนหรือไม่ และเราใช้งานได้หรือไม่
|
IsWriteStorageSupported() const
|
bool
ส่งคืนว่าอุปกรณ์มีอุปกรณ์จัดเก็บข้อมูลภายนอกหรือไม่ และเราใช้งานได้หรือไม่
|
SupportsCaptureMode(VideoCaptureMode capture_mode) const
|
bool
แสดงผลว่าอุปกรณ์รองรับโหมดจับภาพที่ระบุหรือไม่
|
SupportsQualityLevel(VideoQualityLevel quality_level) const
|
bool
จะแสดงผลว่าอุปกรณ์สนับสนุนระดับคุณภาพที่กำหนดหรือไม่
|
Valid() const
|
bool
แสดงผลเป็น "จริง" เมื่อมีการเติมข้อมูลออบเจ็กต์ VideoCapabilities ที่แสดงข้อมูลพร้อมด้วยสถานะการตอบกลับที่สำเร็จ หรือ "เท็จ" สำหรับออบเจ็กต์ VideoCapabilities ที่ผู้ใช้สร้างที่ไม่ได้ป้อนข้อมูล หรือสำหรับออบเจ็กต์ที่มีการป็อปปูเลตพร้อมสถานะการตอบกลับที่ไม่สำเร็จ
|
operator=(const VideoCapabilities & copy_from)
|
โอเปอเรเตอร์การมอบหมายสำหรับกำหนดค่าของออบเจ็กต์ VideoCapabilities นี้จากออบเจ็กต์ VideoCapabilities อื่น
|
operator=(VideoCapabilities && move_from)
|
โอเปอเรเตอร์การมอบหมายสำหรับกำหนดค่าของออบเจ็กต์ VideoCapabilities นี้จากออบเจ็กต์ VideoCapabilities อื่น
|
ฟังก์ชันสาธารณะ
IsCameraSupported
bool IsCameraSupported() const
ส่งคืนว่าอุปกรณ์มีกล้องหน้าหรือไม่ และเราใช้งานได้
IsFullySupported
bool IsFullySupported( VideoCaptureMode capture_mode, VideoQualityLevel quality_level ) const
ตรวจสอบว่าระบบรองรับโหมดจับภาพและระดับคุณภาพ รวมถึงกล้อง ไมโครโฟน และการเขียนพื้นที่เก็บข้อมูลหรือไม่
IsMicSupported
bool IsMicSupported() const
ส่งคืนว่าอุปกรณ์มีไมโครโฟนหรือไม่ และเราใช้งานได้หรือไม่
IsWriteStorageSupported
bool IsWriteStorageSupported() const
ส่งคืนว่าอุปกรณ์มีอุปกรณ์จัดเก็บข้อมูลภายนอกหรือไม่ และเราใช้งานได้หรือไม่
SupportsCaptureMode
bool SupportsCaptureMode( VideoCaptureMode capture_mode ) const
แสดงผลว่าอุปกรณ์รองรับโหมดจับภาพที่ระบุหรือไม่
SupportsQualityLevel
bool SupportsQualityLevel( VideoQualityLevel quality_level ) const
จะแสดงผลว่าอุปกรณ์สนับสนุนระดับคุณภาพที่กำหนดหรือไม่
ใช้งานได้
bool Valid() const
แสดงผลเป็น "จริง" เมื่อมีการเติมข้อมูลออบเจ็กต์ VideoCapabilities ที่แสดงข้อมูลพร้อมด้วยสถานะการตอบกลับที่สำเร็จ หรือ "เท็จ" สำหรับออบเจ็กต์ VideoCapabilities ที่ผู้ใช้สร้างที่ไม่ได้ป้อนข้อมูล หรือสำหรับออบเจ็กต์ที่มีการป็อปปูเลตพร้อมสถานะการตอบกลับที่ไม่สำเร็จ
ซึ่งต้องเป็นจริงเพื่อให้ฟังก์ชัน Getter ในออบเจ็กต์ VideoCapabilities นี้ใช้งานได้
VideoCapabilities
VideoCapabilities()
VideoCapabilities
VideoCapabilities( std::shared_ptr< const VideoCapabilitiesImpl > impl )
ตัวสร้างที่ชัดแจ้ง
VideoCapabilities
VideoCapabilities( const VideoCapabilities & copy_from )
คัดลอกตัวสร้างสำหรับคัดลอกออบเจ็กต์ VideoCapabilities ที่มีอยู่ไปยังออบเจ็กต์ใหม่
VideoCapabilities
VideoCapabilities( VideoCapabilities && move_from )
เครื่องมือสร้างสำหรับการย้ายออบเจ็กต์ VideoCapabilities ที่มีอยู่ไปยังออบเจ็กต์ใหม่
เวอร์ชันอ้างอิง r-value
โอเปอเรเตอร์=
VideoCapabilities & operator=( const VideoCapabilities & copy_from )
โอเปอเรเตอร์การมอบหมายสำหรับกำหนดค่าของออบเจ็กต์ VideoCapabilities นี้จากออบเจ็กต์ VideoCapabilities อื่น
โอเปอเรเตอร์=
VideoCapabilities & operator=( VideoCapabilities && move_from )
โอเปอเรเตอร์การมอบหมายสำหรับกำหนดค่าของออบเจ็กต์ VideoCapabilities นี้จากออบเจ็กต์ VideoCapabilities อื่น
เวอร์ชันอ้างอิง r-value
~ความสามารถของวิดีโอ
~VideoCapabilities()