MPISocial

data class MPISocial(website: String?, twitter: String?, facebook: String?, instagram: String?)

MPISocial has different social media urls for an MPINavigatable.MPILocation.

Constructors

MPISocial
Link copied to clipboard
fun MPISocial(website: String? = null, twitter: String? = null, facebook: String? = null, instagram: String? = null)

Functions

component1
Link copied to clipboard
operator fun component1(): String?
component2
Link copied to clipboard
operator fun component2(): String?
component3
Link copied to clipboard
operator fun component3(): String?
component4
Link copied to clipboard
operator fun component4(): String?
copy
Link copied to clipboard
fun copy(website: String? = null, twitter: String? = null, facebook: String? = null, instagram: String? = null): MPISocial
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

facebook
Link copied to clipboard
val facebook: String? = null
Facebook of the MPINavigatable.MPILocation
  • Example: "https://www.facebook.com/VansCanada/?brand_redir=25297200265"

instagram
Link copied to clipboard
val instagram: String? = null
Instagram of the MPINavigatable.MPILocation
  • Example: https://www.instagram.com/vanscanada/

twitter
Link copied to clipboard
val twitter: String? = null
Twitter of the MPINavigatable.MPILocation
  • Example: "https://twitter.com/vans_66",

website
Link copied to clipboard
val website: String? = null
Website of the MPINavigatable.MPILocation
  • Example: "https://www.vans.ca/en_ca/homepage.html"