mapbox-maps-android
/
com.mapbox.maps.plugin
/
Plugin
/
Custom
Custom
class
Custom
(id:
String
, instance:
MapPlugin
) :
Plugin
Content copied to clipboard
Should be used to create custom user-defined plugins.
Constructors
Functions
Properties
Parameters
Parameters
id
unique id
instance
instance of user-defined
MapPlugin
Constructors
Custom
Link copied to clipboard
fun
Custom
(id:
String
, instance:
MapPlugin
)
Content copied to clipboard
unique id
Functions
equals
Link copied to clipboard
open operator override fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
Equals implementation taking only id into account.
hashCode
Link copied to clipboard
open override fun
hashCode
():
Int
Content copied to clipboard
Hash code implementation taking only id into account.
toString
Link copied to clipboard
open override fun
toString
():
String
Content copied to clipboard
toString implementation.
Properties
id
Link copied to clipboard
val
id
:
String
Content copied to clipboard
Unique plugin id.
instance
Link copied to clipboard
val
instance
:
MapPlugin
?
Content copied to clipboard
Plugin instance implementing
MapPlugin
.