Package com.google.api.services.plus.model.Activity.PlusObject.Attachments

Examples of com.google.api.services.plus.model.Activity.PlusObject.Attachments.Thumbnails


                model.setEmbedUrl(new Text(attachment.getEmbed().getUrl()));
            }

            // アルバムの場合(アクティビティに画像を設定 twtter POSTを簡単にするため)
            if(attachment.getThumbnails() != null && attachment.getThumbnails().size() > 0) {
                Thumbnails thumbnails = attachment.getThumbnails().get(0);
                if(thumbnails != null && thumbnails.getImage() != null) {
                    model.setAttachmentsImageUrl(new Text(thumbnails.getImage().getUrl()));
                }
            }
        }

        // -------------------------------------------------------
View Full Code Here

TOP

Related Classes of com.google.api.services.plus.model.Activity.PlusObject.Attachments.Thumbnails

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.