GCKUIStyleAttributesMiniController Class
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
GCKUIStyleAttributesMiniController
defines the style for the mini controller view group in the Google Cast framework.
It inherits properties from GCKUIStyleAttributes
and allows customization of images, fonts, and colors.
You can access these attributes through castViews.mediaControl.miniController
.
The properties control the appearance of buttons, labels, and backgrounds within the mini controller.
Developers can use this class to tailor the mini controller's look and feel to their application.
The style attributes for the view group representing the mini controller.
Can be accessed as castViews.mediaControl.miniController
Inherits GCKUIStyleAttributes .
UIImage * closedCaptionsImage
An image that will be used in "closed captions" buttons in the framework's default views. More...
UIImage * forward30SecondsImage
An image that will be used in "forward 30 seconds" buttons in the frameworks default views. More...
UIImage * rewind30SecondsImage
An image that will be used in "rewind 30 seconds" buttons in the framework's default views. More...
UIImage * volumeImage
An image that will be used to indicate that a slider is a volume slider in the framework's default views. More...
UIImage * muteOffImage
An image that will be used in the "mute toggle" button in the framework's default views. More...
UIImage * muteOnImage
An image that will be used in the "mute toggle" button in the framework's default views. More...
UIImage * pauseImage
An image that will be used in the "play/pause toggle" button in the framework's default views. More...
UIImage * playImage
An image that will be used in the "play/pause toggle" button in the framework's default views. More...
UIImage * skipNextImage
An image that will be used in "forward 30 seconds" buttons in the framework's default views. More...
UIImage * skipPreviousImage
An image that will be used in "forward 30 seconds" buttons in the framework's default views. More...
UIImage * audioTrackImage
An image that will be used in the track selector, to select the audio track chooser view. More...
UIImage * subtitlesTrackImage
An image that will be used in the track selector, to select the subtitle track chooser view. More...
UIImage * stopImage
An image that will be used in "stop" buttons in the framework's default views. More...
UIFont * buttonTextFont
The UIFont to be used in labels of buttons in the framework's default views. More...
UIColor * buttonTextColor
The color to be used in labels of buttons in the framework's default views. More...
UIColor * buttonTextShadowColor
The shadow color to be used in labels of buttons in the framework's default views. More...
CGSize buttonTextShadowOffset
The offset for the shadow for labels of buttons in the framework's default views. More...
UIFont * bodyTextFont
The UIFont to be used in labels of type "body" in the framework's default views. More...
UIFont * headingTextFont
The UIFont to be used in labels of type "heading" in the framework's default views. More...
UIFont * captionTextFont
The font to be used in labels of type "caption" in the framework's default views. More...
UIColor * bodyTextColor
The color to be used in labels of type "body" in the framework's default views. More...
UIColor * bodyTextShadowColor
The shadow color to be used in labels of type "body" in the framework's default views. More...
UIColor * headingTextColor
The color to be used in labels of type "heading" in the framework's default views. More...
UIColor * headingTextShadowColor
The shadow color to be used in labels of type "heading" in the framework's default views. More...
UIColor * captionTextColor
The color to be used in labels of type "caption" in the framework's default views. More...
UIColor * captionTextShadowColor
The shadow color to be used in labels of type "caption" in the framework's default views. More...
UIColor * backgroundColor
The background color to be used on the framework's default views. More...
UIColor * iconTintColor
The color to use as tint color on all buttons and icons on the framework's default views. More...
CGSize bodyTextShadowOffset
The offset for the shadow for labels of type "body" in the framework's default views. More...
CGSize captionTextShadowOffset
The offset for the shadow for labels of type "caption" in the framework's default views. More...
CGSize headingTextShadowOffset
The offset for the shadow for labels of type "heading" in the framework's default views. More...
- (UIImage*) closedCaptionsImage
read write nonatomic strong inherited
An image that will be used in "closed captions" buttons in the framework's default views.
- (UIImage*) forward30SecondsImage
read write nonatomic strong inherited
An image that will be used in "forward 30 seconds" buttons in the frameworks default views.
- (UIImage*) rewind30SecondsImage
read write nonatomic strong inherited
An image that will be used in "rewind 30 seconds" buttons in the framework's default views.
read write nonatomic strong inherited
An image that will be used to indicate that a slider is a volume slider in the framework's default views.
- (UIImage*) muteOffImage
read write nonatomic strong inherited
An image that will be used in the "mute toggle" button in the framework's default views.
This is the image that will be displayed while the receiver is muted.
read write nonatomic strong inherited
An image that will be used in the "mute toggle" button in the framework's default views.
This is the image that will be displayed while the receiver is not muted.
read write nonatomic strong inherited
An image that will be used in the "play/pause toggle" button in the framework's default views.
This is the image that will be displayed while the receiver is playing.
read write nonatomic strong inherited
An image that will be used in the "play/pause toggle" button in the framework's default views.
This is the image that will be displayed while the receiver is paused.
- (UIImage*) skipNextImage
read write nonatomic strong inherited
An image that will be used in "forward 30 seconds" buttons in the framework's default views.
- (UIImage*) skipPreviousImage
read write nonatomic strong inherited
An image that will be used in "forward 30 seconds" buttons in the framework's default views.
- (UIImage*) audioTrackImage
read write nonatomic strong inherited
An image that will be used in the track selector, to select the audio track chooser view.
- (UIImage*) subtitlesTrackImage
read write nonatomic strong inherited
An image that will be used in the track selector, to select the subtitle track chooser view.
read write nonatomic strong inherited
An image that will be used in "stop" buttons in the framework's default views.
- (UIFont*) buttonTextFont
read write nonatomic strong inherited
The UIFont to be used in labels of buttons in the framework's default views.
- (UIColor*) buttonTextColor
read write nonatomic strong inherited
The color to be used in labels of buttons in the framework's default views.
- (UIColor*) buttonTextShadowColor
read write nonatomic strong inherited
The shadow color to be used in labels of buttons in the framework's default views.
- (CGSize) buttonTextShadowOffset
read write nonatomic assign inherited
The offset for the shadow for labels of buttons in the framework's default views.
read write nonatomic strong inherited
The UIFont to be used in labels of type "body" in the framework's default views.
- (UIFont*) headingTextFont
read write nonatomic strong inherited
The UIFont to be used in labels of type "heading" in the framework's default views.
- (UIFont*) captionTextFont
read write nonatomic strong inherited
The font to be used in labels of type "caption" in the framework's default views.
- (UIColor*) bodyTextColor
read write nonatomic strong inherited
The color to be used in labels of type "body" in the framework's default views.
- (UIColor*) bodyTextShadowColor
read write nonatomic strong inherited
The shadow color to be used in labels of type "body" in the framework's default views.
- (UIColor*) headingTextColor
read write nonatomic strong inherited
The color to be used in labels of type "heading" in the framework's default views.
- (UIColor*) headingTextShadowColor
read write nonatomic strong inherited
The shadow color to be used in labels of type "heading" in the framework's default views.
- (UIColor*) captionTextColor
read write nonatomic strong inherited
The color to be used in labels of type "caption" in the framework's default views.
- (UIColor*) captionTextShadowColor
read write nonatomic strong inherited
The shadow color to be used in labels of type "caption" in the framework's default views.
- (UIColor*) backgroundColor
read write nonatomic strong inherited
The background color to be used on the framework's default views.
- (UIColor*) iconTintColor
read write nonatomic strong inherited
The color to use as tint color on all buttons and icons on the framework's default views.
- (CGSize) bodyTextShadowOffset
read write nonatomic assign inherited
The offset for the shadow for labels of type "body" in the framework's default views.
- (CGSize) captionTextShadowOffset
read write nonatomic assign inherited
The offset for the shadow for labels of type "caption" in the framework's default views.
- (CGSize) headingTextShadowOffset
read write nonatomic assign inherited
The offset for the shadow for labels of type "heading" in the framework's default views.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[],["The `GCKUIStyleAttributesMiniController` class manages style attributes for the mini controller view group. It uses images for buttons like closed captions, forward/rewind 30 seconds, volume, mute toggle, play/pause, skip next/previous, stop, and track selectors. Text-related attributes include font, color, shadow color, and shadow offset for button labels, body text, heading, and caption text. Lastly, it defines background color and icon tint color for default views.\n"]]