GCKUIStyleAttributesConnectionToolbar 類別
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
代表裝置控制器工具列的檢視區塊群組樣式屬性。
可透過 castViews.deviceController.connectionController.Tool 存取。
- 開始時間
- 4.3.5
繼承 GCKUIStyleAttributes。
- (UIImage*) closedCaptionsImage |
|
readwritenonatomicassigninherited |
會在架構預設檢視畫面中的「隱藏式輔助字幕」按鈕中使用的圖片。
- (UIImage*) forward30SecondsImage |
|
readwritenonatomicassigninherited |
要在架構預設檢視畫面中的「前 30 秒」按鈕中使用的圖片。
- (UIImage*) rewind30SecondsImage |
|
readwritenonatomicassigninherited |
會在架構預設檢視畫面中的「倒轉 30 秒」按鈕中使用的圖片。
|
readwritenonatomicassigninherited |
一張圖片,用於表示滑桿是架構預設檢視畫面中的音量滑桿。
- (UIImage*) muteOffImage |
|
readwritenonatomicassigninherited |
要在架構預設檢視畫面的「靜音切換」按鈕中使用的圖片。
這是接收器設為靜音時顯示的圖片。
|
readwritenonatomicassigninherited |
要在架構預設檢視畫面的「靜音切換」按鈕中使用的圖片。
這是接收器未設為靜音時顯示的圖片。
|
readwritenonatomicassigninherited |
要在架構預設檢視畫面的「播放/暫停切換」按鈕中使用的圖片。
這是接收器播放時顯示的圖片。
|
readwritenonatomicassigninherited |
要在架構預設檢視畫面的「播放/暫停切換」按鈕中使用的圖片。
這是接收器暫停時顯示的圖片。
- (UIImage*) skipNextImage |
|
readwritenonatomicassigninherited |
會在架構預設檢視畫面中的「前 30 秒」按鈕中使用的圖片。
- (UIImage*) skipPreviousImage |
|
readwritenonatomicassigninherited |
會在架構預設檢視畫面中的「前 30 秒」按鈕中使用的圖片。
- (UIImage*) audioTrackImage |
|
readwritenonatomicassigninherited |
用於選取音軌選擇器檢視畫面的圖片,會在音軌選取器中使用。
- (UIImage*) subtitlesTrackImage |
|
readwritenonatomicassigninherited |
一張圖片,用於軌道選取器,以選取字幕軌選擇器檢視畫面。
|
readwritenonatomicassigninherited |
會在架構預設檢視畫面中的「停止」按鈕中使用的圖片。
- (UIFont*) buttonTextFont |
|
readwritenonatomicassigninherited |
要在架構預設檢視畫面中按鈕標籤中使用的 UIFont。
- (UIColor*) buttonTextColor |
|
readwritenonatomicassigninherited |
用於架構預設檢視畫面中按鈕標籤的顏色。
- 開始時間
- 3.4
- (UIColor*) buttonTextShadowColor |
|
readwritenonatomicassigninherited |
要在架構預設檢視畫面中的按鈕標籤中使用的陰影顏色。
- (CGSize) buttonTextShadowOffset |
|
readwritenonatomicassigninherited |
|
readwritenonatomicassigninherited |
要在架構預設檢視畫面中「body」類型標籤中使用的 UIFont。
- (UIFont*) headingTextFont |
|
readwritenonatomicassigninherited |
要在架構預設檢視畫面中「heading」類型標籤中使用的 UIFont。
- (UIFont*) captionTextFont |
|
readwritenonatomicassigninherited |
要在架構預設檢視畫面中「caption」類型標籤中使用的字型。
- (UIColor*) bodyTextColor |
|
readwritenonatomicassigninherited |
在架構的預設檢視畫面中要用於「body」類型標籤的顏色。
- (UIColor*) bodyTextShadowColor |
|
readwritenonatomicassigninherited |
架構預設檢視畫面中「body」類型標籤中使用的陰影顏色。
- (UIColor*) headingTextColor |
|
readwritenonatomicassigninherited |
在架構的預設檢視畫面中,用於「標題」類型標籤的顏色。
- (UIColor*) headingTextShadowColor |
|
readwritenonatomicassigninherited |
架構預設檢視畫面中「標題」類型標籤中使用的陰影顏色。
- (UIColor*) captionTextColor |
|
readwritenonatomicassigninherited |
在架構的預設檢視畫面中要用於「caption」類型標籤的顏色。
- (UIColor*) captionTextShadowColor |
|
readwritenonatomicassigninherited |
在架構的預設檢視畫面中,要用在「caption」類型標籤的陰影顏色。
- (UIColor*) backgroundColor |
|
readwritenonatomicassigninherited |
- (UIColor*) iconTintColor |
|
readwritenonatomicassigninherited |
- (CGSize) bodyTextShadowOffset |
|
readwritenonatomicassigninherited |
在架構的預設檢視畫面中,「body」類型標籤的陰影偏移。
- (CGSize) captionTextShadowOffset |
|
readwritenonatomicassigninherited |
在架構的預設檢視畫面中,「caption」類型標籤的陰影偏移。
- (CGSize) headingTextShadowOffset |
|
readwritenonatomicassigninherited |
在架構的預設檢視畫面中,「heading」類型標籤的陰影偏移。
- (UIColor*) sliderUnseekableProgressColor |
|
readwritenonatomicassigninherited |
滑桿檢視畫面上無法瀏覽的進度軌所使用的顏色。
- 開始時間
- 4.4.1
- (UIColor*) sliderProgressColor |
|
readwritenonatomicassigninherited |
搜尋進度軌所使用的顏色,以及滑桿檢視畫面上的指標。
- 開始時間
- 4.4.1
- (UIColor*) sliderSecondaryProgressColor |
|
readwritenonatomicassigninherited |
滑桿檢視畫面用於搜尋式和未播放進度軌的顏色。
- 開始時間
- 4.4.1
- (UIColor*) sliderTooltipBackgroundColor |
|
readwritenonatomicassigninherited |
滑桿縮圖的工具提示標籤背景顏色。
- 開始時間
- 4.4.1
- (UIColor*) liveIndicatorColor |
|
readwritenonatomicassigninherited |
- (NSNumber*) adImageContentMode |
|
readwritenonatomicassigninherited |
廣告圖片的 UIViewContentMode 顯示在展開後檢視控制器上,包裝在 NSNumber 中。
- 開始時間
- 4.4.1
- (NSNumber*) backgroundImageContentMode |
|
readwritenonatomicassigninherited |
展開的檢視控制器中背景圖片的 UIViewContentMode,包裝在 NSNumber 中。
- 開始時間
- 4.4.1
- (UIColor*) playedAdMarkerFillColor |
|
readwritenonatomicassigninherited |
在滑桿播放的片段中,搜尋列上繪製圓形廣告標記的顏色。
預設值為黃色。
- 開始時間
- 4.6.0
- (UIColor*) unplayedAdMarkerFillColor |
|
readwritenonatomicassigninherited |
這個顏色用於在滑桿未播放的片段中,在跳轉列上繪製圓形廣告標記。
預設值為黃色。
- 開始時間
- 4.6.0
- (UIColor*) volumeSliderThumbTintColor |
|
readwritenonatomicassigninherited |
- (UIColor*) volumeSliderMinimumTrackTintColor |
|
readwritenonatomicassigninherited |
這個顏色代表音量滑桿的最小軌跡色調顏色。
- 開始時間
- 4.8.0
- (UIColor*) volumeSliderMaximumTrackTintColor |
|
readwritenonatomicassigninherited |
這個顏色代表音量滑桿的最大軌跡色調顏色。
- 開始時間
- 4.8.0
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-12-01 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2023-12-01 (世界標準時間)。"],[[["`GCKUIStyleAttributesConnectionToolbar` defines the style attributes for the device controller toolbar in the Google Cast framework."],["It provides properties to customize the appearance of buttons, labels, sliders, and other UI elements."],["Developers can use this class to tailor the device controller's look and feel to match their application's design."],["All properties are read-write and nonatomic, allowing for dynamic customization."],["The class is available since version 4.3.5 of the Google Cast framework."]]],["The `GCKUIStyleAttributesConnectionToolbar` class customizes the appearance of the device controller's toolbar, accessible via `castViews.deviceController.connectionController.toolbar`. It allows modification of images for buttons like \"closed captions,\" \"forward/rewind,\" \"mute,\" \"play/pause,\" and \"skip.\" Text attributes such as font, color, and shadow for various labels are configurable, along with background and icon colors. Slider colors for progress, tooltips and live indicators are customizable, as well as ad marker and volume slider styling. Introduced in version 4.3.5, it inherits from `GCKUIStyleAttributes`.\n"]]