# MediaCas.PluginDescriptor

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)

# PluginDescriptor

*** ** * ** ***

Kotlin \|[Java](https://developer.android.com/reference/android/media/MediaCas.PluginDescriptor "View this page in Java")  

```
class PluginDescriptor
```

|---|------------------------------------------------------------------------------------------------------------------------------------|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)                                                     ||
| ↳ | [android.media.MediaCas.PluginDescriptor](https://developer.android.com/reference/kotlin/android/media/MediaCas.PluginDescriptor#) |

Describe a CAS plugin with its CA_system_ID and string name. Returned as results of [enumeratePlugins](https://developer.android.com/reference/kotlin/android/media/MediaCas#enumeratePlugins()).

## Summary

|                                                                                                    Public methods                                                                                                     ||
|---------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|
| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [getName](https://developer.android.com/reference/kotlin/android/media/MediaCas.PluginDescriptor#getName())`()` <br />         |
| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)       | [getSystemId](https://developer.android.com/reference/kotlin/android/media/MediaCas.PluginDescriptor#getSystemId())`()` <br /> |
| open [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | [toString](https://developer.android.com/reference/kotlin/android/media/MediaCas.PluginDescriptor#toString())`()` <br />       |

## Public methods

### getName

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
open fun getName(): String
```

|                                                     Return                                                     ||
|----------------------------------------------------------------------------------|------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | This value cannot be `null`. |

### getSystemId

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
open fun getSystemId(): Int
```  

### toString

Added in [API level 26](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)  

```
open fun toString(): String
```

|                                                          Return                                                          ||
|----------------------------------------------------------------------------------|----------------------------------------|
| [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) | a string representation of the object. |