GCKUIStyleAttributes Class
Stay organized with collections
Save and categorize content based on your preferences.
A class for controlling the style (colors, fonts, icons) of the default views of the framework.
- Since
- 3.3
Inherits NSObject.
Inherited by GCKUIStyleAttributesCastViews, GCKUIStyleAttributesConnectionController, GCKUIStyleAttributesDeviceChooser, GCKUIStyleAttributesDeviceControl, GCKUIStyleAttributesExpandedController, GCKUIStyleAttributesGuestModePairingDialog, GCKUIStyleAttributesInstructions, GCKUIStyleAttributesMediaControl, GCKUIStyleAttributesMiniController, and GCKUIStyleAttributesTrackSelector.
|
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 |
|
readwritenonatomicstrong |
An image that will be used in "closed captions" buttons in the framework's default views.
- (UIImage*) forward30SecondsImage |
|
readwritenonatomicstrong |
An image that will be used in "forward 30 seconds" buttons in the frameworks default views.
- (UIImage*) rewind30SecondsImage |
|
readwritenonatomicstrong |
An image that will be used in "rewind 30 seconds" buttons in the framework's default views.
An image that will be used to indicate that a slider is a volume slider in the framework's default views.
- (UIImage*) muteOffImage |
|
readwritenonatomicstrong |
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.
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.
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.
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 |
|
readwritenonatomicstrong |
An image that will be used in "forward 30 seconds" buttons in the framework's default views.
- (UIImage*) skipPreviousImage |
|
readwritenonatomicstrong |
An image that will be used in "forward 30 seconds" buttons in the framework's default views.
- (UIImage*) audioTrackImage |
|
readwritenonatomicstrong |
An image that will be used in the track selector, to select the audio track chooser view.
- (UIImage*) subtitlesTrackImage |
|
readwritenonatomicstrong |
An image that will be used in the track selector, to select the subtitle track chooser view.
An image that will be used in "stop" buttons in the framework's default views.
- (UIFont*) buttonTextFont |
|
readwritenonatomicstrong |
The UIFont to be used in labels of buttons in the framework's default views.
- (UIColor*) buttonTextColor |
|
readwritenonatomicstrong |
The color to be used in labels of buttons in the framework's default views.
- (UIColor*) buttonTextShadowColor |
|
readwritenonatomicstrong |
The shadow color to be used in labels of buttons in the framework's default views.
- (CGSize) buttonTextShadowOffset |
|
readwritenonatomicassign |
The offset for the shadow for labels of buttons in the framework's default views.
The UIFont to be used in labels of type "body" in the framework's default views.
- (UIFont*) headingTextFont |
|
readwritenonatomicstrong |
The UIFont to be used in labels of type "heading" in the framework's default views.
- (UIFont*) captionTextFont |
|
readwritenonatomicstrong |
The font to be used in labels of type "caption" in the framework's default views.
- (UIColor*) bodyTextColor |
|
readwritenonatomicstrong |
The color to be used in labels of type "body" in the framework's default views.
- (UIColor*) bodyTextShadowColor |
|
readwritenonatomicstrong |
The shadow color to be used in labels of type "body" in the framework's default views.
- (UIColor*) headingTextColor |
|
readwritenonatomicstrong |
The color to be used in labels of type "heading" in the framework's default views.
- (UIColor*) headingTextShadowColor |
|
readwritenonatomicstrong |
The shadow color to be used in labels of type "heading" in the framework's default views.
- (UIColor*) captionTextColor |
|
readwritenonatomicstrong |
The color to be used in labels of type "caption" in the framework's default views.
- (UIColor*) captionTextShadowColor |
|
readwritenonatomicstrong |
The shadow color to be used in labels of type "caption" in the framework's default views.
- (UIColor*) backgroundColor |
|
readwritenonatomicstrong |
The background color to be used on the framework's default views.
- (UIColor*) iconTintColor |
|
readwritenonatomicstrong |
The color to use as tint color on all buttons and icons on the framework's default views.
- (CGSize) bodyTextShadowOffset |
|
readwritenonatomicassign |
The offset for the shadow for labels of type "body" in the framework's default views.
- (CGSize) captionTextShadowOffset |
|
readwritenonatomicassign |
The offset for the shadow for labels of type "caption" in the framework's default views.
- (CGSize) headingTextShadowOffset |
|
readwritenonatomicassign |
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."],[[["`GCKUIStyleAttributes` lets you customize the look of default Google Cast framework views (colors, fonts, icons)."],["It provides properties to set images for buttons like play/pause, forward, rewind, and closed captions."],["You can customize text fonts and colors for headings, body text, captions, and buttons."],["Background color and icon tint color can also be controlled using this class."],["This class is available since Google Cast SDK version 3.3 and is inherited by various style attribute classes for specific UI elements."]]],["The `GCKUIStyleAttributes` class controls the visual styling of the framework's default views. It provides properties to customize various UI elements. Key actions involve setting images for buttons like \"closed captions,\" \"forward/rewind 30 seconds,\" \"mute,\" \"play/pause,\" and \"stop.\" It also allows customization of fonts, text colors, shadow colors, and offsets for different label types (button, body, heading, caption), in addition to defining background color and icon tint colors.\n"]]