Language

CardEmulation.PropertyAllowSharedRolePriority Field

Definition

Property name used to indicate that an application wants to allow associated services to share the same AID routing priority when this application is the role holder.

[Android.Runtime.Register("PROPERTY_ALLOW_SHARED_ROLE_PRIORITY", ApiSince=36)]
public const string PropertyAllowSharedRolePriority;
[<Android.Runtime.Register("PROPERTY_ALLOW_SHARED_ROLE_PRIORITY", ApiSince=36)>]
val mutable PropertyAllowSharedRolePriority : string

Field Value

Attributes

Remarks

Property name used to indicate that an application wants to allow associated services to share the same AID routing priority when this application is the role holder. Wallet role holder can either: Set "android:value" to "true". This will allow any package signed by the same certificate to request for role holder priority; Set "android:value" to some other package name. This will only allow this package to request for role holder priority (can be signed by different certificates).

<application>
  ...
<property android:name="android.nfc.cardemulation.PROPERTY_ALLOW_SHARED_ROLE_PRIORITY"
    android:value="true"/>
</application>
<service>
  ...
<property android:name="android.nfc.cardemulation.PROPERTY_ALLOW_SHARED_ROLE_PRIORITY"
    android:value="com.org.example"/>
</service>

Android reference for android.nfc.cardemulation.CardEmulation.PROPERTY_ALLOW_SHARED_ROLE_PRIORITY.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to