Udostępnij za pośrednictwem


DrmSupportInfo.AddFileSuffix(String) Method

Definition

Adds the specified file suffix to the list of file suffixes this DRM plug-in supports.

[Android.Runtime.Register("addFileSuffix", "(Ljava/lang/String;)V", "GetAddFileSuffix_Ljava_lang_String_Handler")]
public virtual void AddFileSuffix (string? fileSuffix);
[<Android.Runtime.Register("addFileSuffix", "(Ljava/lang/String;)V", "GetAddFileSuffix_Ljava_lang_String_Handler")>]
abstract member AddFileSuffix : string -> unit
override this.AddFileSuffix : string -> unit

Parameters

fileSuffix
String

File suffix that can be handled by this DRM plug-in. it could be null but not an empty string. When it is null, it indicates that some DRM content comes with no file suffix.

Attributes

Remarks

Adds the specified file suffix to the list of file suffixes this DRM plug-in supports.

Java documentation for android.drm.DrmSupportInfo.addFileSuffix(java.lang.String).

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