Class StringExtensionsKt
-
- All Implemented Interfaces:
public final class StringExtensionsKt
-
-
Method Summary
Modifier and Type Method Description final static StringapplyStreamCdnImageResizingIfEnabled(String $self, StreamCdnImageResizing streamCdnImageResizing)A convenience method which applies Stream CDN image resizing if it's enabled and applicable. -
-
Method Detail
-
applyStreamCdnImageResizingIfEnabled
final static String applyStreamCdnImageResizingIfEnabled(String $self, StreamCdnImageResizing streamCdnImageResizing)
A convenience method which applies Stream CDN image resizing if it's enabled and applicable. It doesn't hold any special value other than minimizing repetition.
- Parameters:
streamCdnImageResizing- Holds value information about the resizing mode including if it is enabled or not.- Returns:
The URL to the resized image if resizing was applicable, otherwise returns the URL to the original image.
-
-
-
-