public SocialShare image(Uri imageUri){
  if (imageUri == null)   throw new IllegalArgumentException("imageUri == null");
  if (this.uri != null)   throw new IllegalStateException("Not allowed multiple uri's");
  this.uri=imageUri;
  this.mimeType=Mime.ANY_IMAGE;
  return this;
}

public SocialShare image ( Uri imageUri ) { if ( imageUri == null ) throw new IllegalArgumentException ( "imageUri == null" ) ; if ( this . uri != null ) throw new IllegalStateException ( "Not allowed multiple uri's" ) ; this . uri = imageUri ; this . mimeType = Mime . ANY_IMAGE ; return this ; }
sets the image to share . this can only be called once , and you can only share a video or an image . not both .
